How can I get the Saml2SecurityToken.Assertion.Subject.NameId in the Subject form the testshib.org test server?
Peter Schober
peter.schober at univie.ac.at
Wed Oct 15 05:19:00 EDT 2014
* W O <39a0d912abc at gmail.com> [2014-10-15 10:57]:
> How can I get the Saml2SecurityToken.Assertion.Subject.NameId in the
> Subject form the testshib.org test server? I get exceptions thrown if code
> below is not uncommented.
Logging into the Testshib SP from the Testshib IDP (using the
credentials provided on its login page) and checking the IDP and SP
logs, I just verified that the Testshib IDP does send a transient
NameID in the assertion's Subject.
(It also sends a persistent NameID wrapped in a SAML attribute as part
of the AttributeStatement.)
Feel free to check the Testhib IDP' logs yourself, that's why they're
being made easily available via the web.
How you access a NameID in custom .NET code (I'm guessing) is not an
issue for the Shibboleth list or project.
-peter
More information about the users
mailing list