Reading a saml assertion attributes in SP
Cantor, Scott
cantor.2 at osu.edu
Tue Apr 8 10:15:41 EDT 2014
On 4/8/14, 5:28 AM, "Iraklis.Symeonidis" <hsimeoni at gmail.com> 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?
>ps1: I would prefer a C++ example
That's not going to happen, sorry. I don't have the time to write examples.
>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.
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.
-- Scott
More information about the dev
mailing list