Firstly thanks for the quick response !
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">Cantor, Scott E. wrote</div>
<div class="quote-message">
On 4/8/14, 5:28 AM, "Iraklis.Symeonidis" <<a href="/user/SendEmail.jtp?type=node&node=7598526&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
>
>1. How can I get the saml attributes clean and direct from the shibboleth
>SP
>without the use of http (apache) ?
I don't understand your goal here, so I don't know how to help you. What
does this mean? Get them for what? Under what conditions? For what purpose?
I have introduced to IdP a custom attribute which will be a url. From the side of SP I want to read the name of the attribute and the content. The value of the attribute will be static and specifically it is a url. So my question is how can I get this value without the use of the mentioned solutions ? I would like to use just a simple script (if this is possible) to read directly from Shibboleth.
>ps1: I would prefer a C++ example
That's not going to happen, sorry. I don't have the time to write examples.
Sorry for the miss understanding. I was referring to ready examples if exist
>ps2: I have seen samples of codes with the request.getHeader(name)
>function.
Well, that's how you build web applications that use the SP, yes. Is that
what you're doing? If so, then that is the answer, either headers or
environment variables, or in the rare case you needed the assertion, as
documented in the wiki under assertion export.
No I don't want initially to write a web service but this could be a solution also.
The SP is not a general purpose tool. It contains libraries that can be
repurposed to do more general things, and there is a library built for the
Moonshot project that can be used to directly invoke the attribute
processing code in the SP, but that presumes you're obtaining SAML or GSS
attributes from some other source.
Sorry but I didn't understand very well the answer. Do you have any resources to read ?
Specificity I didn't understood the part
"but that presumes you're obtaining SAML or GSS" (I get in the SP the saml assertion...what is GSS ?)
and
"attributes from some other source."
??? the SP ???
-- Scott
--
To unsubscribe from this list send an email to <a href="/user/SendEmail.jtp?type=node&node=7598526&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
</div>
</div></blockquote>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://shibboleth.1660669.n2.nabble.com/Reading-a-saml-assertion-attributes-in-SP-tp7598496p7598526.html">Re: Reading a saml assertion attributes in SP</a><br/>
Sent from the <a href="http://shibboleth.1660669.n2.nabble.com/Shibboleth-Developers-f1660781.html">Shibboleth - Developers mailing list archive</a> at Nabble.com.<br/>