[OpenSAML] How to set subject to AuthnStatement in SAML2

65 views
Skip to first unread message

Its Me

unread,
Mar 20, 2011, 2:15:33 PM3/20/11
to mace-open...@internet2.edu
Dear Chad La Joie,

Thank you so much for your reply to all my requests.

from IDP i need to send SSO Token to SP, what would be the best place to add the token.

in SAML1 package
<saml:AuthenticationStatement
AuthenticationInstant=””>
<saml:Subject>
<saml:NameIdentifier>ssotoken
</saml:NameIdentifier>
</saml:Subject>
</saml:AuthenticationStatement>

how to do the above in SAML2 as i can't set subject for 'AuthnStatement'.

Thank you,
Suguna



Cantor, Scott E.

unread,
Mar 20, 2011, 2:23:19 PM3/20/11
to mace-open...@internet2.edu
>how to do the above in SAML2 as i can't set subject for 'AuthnStatement'.

Subject is an assertion-level element in SAML 2.

Please read the standard before continuing with whatever you're doing.

-- Scott

Chad La Joie

unread,
Mar 20, 2011, 2:24:23 PM3/20/11
to mace-open...@internet2.edu
The APIs follow the specs. First, start by reading the SAML 2 spec to
see their schema and what elements go where.

--
Chad La Joie
http://itumi.biz
trusted identities, delivered

Reply all
Reply to author
Forward
0 new messages