mace-opensaml-users - Building RequestSecurityTokenResponse
Subject: OpenSAML user discussion
List archive
- From: anyz <>
- To:
- Subject: Building RequestSecurityTokenResponse
- Date: Fri, 21 May 2010 17:05:27 +0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LjTaJxHZ0KXuaZqzqH+LKCx2HjXiOfVG0y217mfoFhEHdl/Mdp8OzobI4X1XBHlJQ/ ghMlJ+M0S2VC7/tIAqqSydjMUi5pk7INQoWZ8Koow3q4+wdfOip5bugji6U4LpW4rN+y fZB/yDI6bI4gjrEbjRsT5KbYf+QAwp96D4LO4=
Hi,
I need to build RequestSecurityTokenResponse to communicate with one of our partner. However i could not find a sample test case in source code. Could you please point me to right direction where to look for? Sample Token needed is attached with email.
Thanks
<wst:RequestSecurityTokenResponse xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust"> <wst:RequestedSecurityToken> <saml:Assertion AssertionID="_c9b77a59-ca55-4934-b750-527f17faa13a" IssueInstant="2009-06-02T18:14:04Z" Issuer="urn:federation:isi" MajorVersion="1" MinorVersion="1" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"> <saml:Conditions NotBefore="2009-06-02T18:14:04Z" NotOnOrAfter="2009-06-02T19:14:04Z"> <saml:AudienceRestrictionCondition> <saml:Audience>https://sso-my.investmentscorecard.com/</saml:Audience> </saml:AudienceRestrictionCondition> </saml:Conditions> <saml:Advice> <adfs:ClaimSource xmlns:adfs="urn:microsoft:federation">urn:federation:Client</adfs:ClaimSource> <adfs:CookieInfoHash xmlns:adfs="urn:microsoft:federation">oAUca67x6ohbsrPJVWvLA1U74Ag=</adfs:CookieInfoHash> </saml:Advice> <saml:AuthenticationStatement AuthenticationInstant="2009-06-02T18:14:03Z" AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:classes:password"> <saml:Subject> <saml:NameIdentifier Format="http://schemas.xmlsoap.org/claims/UPN"></saml:NameIdentifier> </saml:Subject> </saml:AuthenticationStatement> <saml:AttributeStatement> <saml:Subject> <saml:NameIdentifier Format="http://schemas.xmlsoap.org/claims/UPN"></saml:NameIdentifier> </saml:Subject> <saml:Attribute AttributeName="CustomClaim" AttributeNamespace="http://schemas.xmlsoap.org/claims"> <saml:AttributeValue>123456</saml:AttributeValue> </saml:Attribute> </saml:AttributeStatement> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> <Reference URI="#_c9b77a59-ca55-4934-b750-527f17faa13a"> <Transforms> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <DigestValue>Cg9S64nPzKvYBPb0MuoG4m+Z3uc=</DigestValue> </Reference> </SignedInfo> <SignatureValue>S4yMyXGiRr8gqwtacEYRzwvZKf1YJKQSReQXP1zTF4GjlDZmK/+N/BXjyCS9JVqsaEludB+porwdIErVdRMoOYAbMHJdkDWNy16KvZho7vwwx/qWXC91VcHdpzhDf9lV9gnSj9FYUzoFnJuiUBXRM5KcqHR+msWJIvakxrm9y7Q=</SignatureValue> <KeyInfo> <X509Data> <X509Certificate>MIICBjCCAasdfwIBAgIQsFRb1eywJ41OtzXncZHJFzAJBgUrasdfHQUAMBwxGjAYBgNVBAMTasfZGVyYXRpb25TZXJ2aWNlMB4XDTA3MDUxOTEyNDkzOFoXDTM5MTIzMTIzNTk1OVowHDEaMBgGA1UEAxMRRmVkZXJhdGlvblNlcnZpY2UwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAODMRuyOI5hpTMD5NFmI382LCSjbwPlq0pGDS/o1b9rTtMlHBZ/2epRON04Gth/8VZAEUPJzTQj+EtNcIhIggVUH9TX+MeOy+hEB6oUb3Wia+RSRjbDGFQvNVS99hNYZoGfROfs5f4+uhlcAbwojE6DjPljGjPKEnW6hAEaQVQ8zAgMBAAGjUTBPME0GA1UdAQRGMESAEBmjMpFbru0AzOjFPM3QIYahHjAcMRowGAYDVQQDExFGZWRlcmF0aW9uU2VydmljZYIQsFRb1eywJ41OtzXncZHJFzAJBgUrDgMCHQUAA4GBAIvXcxYv98ncJ4GwmJrtWe8mFK+b+xrKwVU4dYy4o1XI6Nus1KlpSbSPlS8St2HtYLsdhkuA5zZtirsnWx0Wl8/uTb/zTP0Xy2hpFpxcQFV/mLsdps+l8/qpasdfGd8O1OCeVCrvmqzY2tm7asdfsTc7plxhEKUkkVhINba1gaVn</X509Certificate> </X509Data> </KeyInfo> </Signature> </saml:Assertion> </wst:RequestedSecurityToken> <wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> <wsa:EndpointReference xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Address>https://sso-my.investmentscorecard.com/</wsa:Address> </wsa:EndpointReference> </wsp:AppliesTo> </wst:RequestSecurityTokenResponse>
- Building RequestSecurityTokenResponse, anyz, 05/21/2010
- Re: [OpenSAML] Building RequestSecurityTokenResponse, Brent Putman, 05/21/2010
Archive powered by MHonArc 2.6.16.