Skip to Content.
Sympa Menu

mace-opensaml-users - Where To Stick Data In SAML Response

Subject: OpenSAML user discussion

List archive

Where To Stick Data In SAML Response


Chronological Thread 
  • From:
  • To:
  • Subject: Where To Stick Data In SAML Response
  • Date: Fri, 23 Jul 2004 12:15:01 -0400 (EDT)

Hi,

I am very new to SAML. I recently started to use opensaml to implement
the Single-Sign-On solution for my company. I need to pass the following data:
srcUserID, destUserID, userEmailAddr
to the destination website. The SAML POST Profile is preferred.

What is the best place to stick the data in the SAML Response string?

The following is the SAML response string that I am able to use
SAMLPOSTProfile::prepare() to generate so far:

<Response
xmlns="urn:oasis:names:tc:SAML:1.0:protocol"
IssueInstant="2004-07-20T05:12:33Z"
MajorVersion="1"
MinorVersion="1"
Recipient="recipient"
ResponseID="eca7abeb68bbb85b823dc3efb328b9fb"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol">
<Status>
<StatusCode Value="Success"/>
</Status>
<Assertion
xmlns="urn:oasis:names:tc:SAML:1.0:assertion"
AssertionID="ad560d7cb628a097d6b30241d166fd10"
IssueInstant="2004-07-20T05:12:33Z"
Issuer="issuer"
MajorVersion="1"
MinorVersion="1"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol">
<Conditions
NotBefore="2004-07-20T05:12:33Z"
NotOnOrAfter="2004-07-20T05:17:33Z"/>
<AuthenticationStatement
AuthenticationInstant="2004-07-20T05:12:33Z"
AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
<Subject>
<NameIdentifier>name</NameIdentifier>
<SubjectConfirmation>

<ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer</ConfirmationMethod>
</SubjectConfirmation>
</Subject>
</AuthenticationStatement>
</Assertion>
</Response>


Thanks for your advice,
-James Chen



Archive powered by MHonArc 2.6.16.

Top of Page