Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SAML 2.0 – Auto Account Creation
- Here is an example of a signed SAML response containing a SAML 2.0 assertion. This response includes mandatory and optional user profile attributes used for automatic account creation. Site specific options are highlighted in bold.
- <Response xmlns="urn:oasis:names:tc:SAML:2.0:protocol" Destination="https://acme.webex.com/dispatcher/SAML2AuthService?siteurl=acme" ID="_06bff71973342ad24ba31790591bb010e963" InResponseTo="s250ce91cf92b24a7694686158ddea33b6c1ce7fa9" IssueInstant="2008-09-05T19:08:05Z" Version="2.0">
- <ns1:Issuer xmlns:ns1="urn:oasis:names:tc:SAML:2.0:assertion" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">acme</ns1:Issuer>
- <Status>
- <StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
- </Status>
- <ns2:Assertion xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion" ID="_e72cfdeffbf9288cfa75e2423a932abb35d5" IssueInstant="2008-09-05T19:08:05Z" Version="2.0">
- <ns2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity"> acme</ns2:Issuer>
- <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- <ds:SignedInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
- <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
- <ds:Reference URI="#_e72cfdeffbf9288cfa75e2423a932abb35d5" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- <ds:Transforms xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
- <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
- </ds:Transforms>
- <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
- <ds:DigestValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">p5AbejgL5K4nGDp3HXHfp3VPhmE=</ds:DigestValue>
- </ds:Reference>
- </ds:SignedInfo>
- <ds:SignatureValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- TtMcc6pnIxbDcLulI8/hJS9A74dR2w05dO676PK7KT48d8sGFoXXTgpWgy++7+AZTpQCjHPcv88c
- dAh4PtripoBlpZ++xErKQ/ee/rxsP2mOr7LrNE4QoqUbiOCd68kHz9Qjx0ApTIr6d4YXNfeHD62O
- iEBnixRE5c6hlnn263U=
- </ds:SignatureValue>
- <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- <ds:X509Data xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- <ds:X509Certificate xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- MIIErjCCA5agAwIBAgIQZMQJL9PYyWwQloty2TFcIzANBgkqhkiG9w0BAQUFADBrMQswCQYDVQQG
- EwJVUzEtMCsGA1UEChMkVHJ1c3RlZCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MS0wKwYD
- VQQDEyRUcnVzdGVkIFNlY3VyZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDgwNTE2MDAwMDAw
- WhcNMTAwNTE2MjM1OTU5WjCB/TELMAkGA1UEBhMCVVMxFDASBgNVBAgTC0NPTk5FQ1RJQ1VUMRIw
- EAYDVQQHEwlGQUlSRklFTEQxITAfBasdawerweasdmVyYWwgRWxlY3RyaWMgQ29tcGFueTEwMC4G
- A1UECxMnR0UgQ29ycG9yYXRlIENJUyhjb3JwdDUwOCBwb2xpY3lzZXJ2ZXIpMS0wKwYDVQQLEyRQ
- cm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JZ+4eq8WaLA+zH1UX37Mu4ErW4YA7vJapNn4K/ODax85zc/Wu4Dq15pPwW4HQzhXEHCoc
- i2n/cUVgq/QH1TF5spK/JCNxBsvzFmxn+qrkq9k+cQsIZGyAKDiQzaFXNE44c6mNOqDRw0PkXPZz
- lGOyPDE=
- </ds:X509Certificate>
- </ds:X509Data>
- </ds:KeyInfo>
- </ds:Signature>
- <ns2:Subject>
- <ns2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">johnd</ns2:NameID>
- <ns2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
- <ns2:SubjectConfirmationData InResponseTo="s250ce91cf92b24a7694686158ddea33b6c1ce7fa9" NotOnOrAfter="2008-09-05T19:09:35Z" Recipient="https://acme.webex.com/dispatcher/SAML2AuthServlet?siteurl=acme"/>
- </ns2:SubjectConfirmation>
- </ns2:Subject>
- <ns2:Conditions NotBefore="2008-09-05T19:07:35Z" NotOnOrAfter="2008-09-05T19:09:35Z">
- <ns2:AudienceRestriction>
- <ns2:Audience>http://www.webex.com</ns2:Audience>
- </ns2:AudienceRestriction>
- <ns2:AudienceRestriction>
- <ns2:Audience>http://www.webex.com</ns2:Audience>
- </ns2:AudienceRestriction>
- </ns2:Conditions>
- <ns2:AuthnStatement AuthnInstant="2008-09-05T19:08:05Z" SessionIndex="VOZ+dlWSTR33dFexpmtMlIFti7M=KDtVbw==" SessionNotOnOrAfter="2008-09-05T19:09:35Z">
- <ns2:AuthnContext> <ns2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</ns2:AuthnContextClassRef>
- </ns2:AuthnContext>
- </ns2:AuthnStatement>
- <ns2:AttributeStatement>
- <ns2:Attribute Name="uid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
- <ns2:AttributeValue>johnd</ns2:AttributeValue>
- </ns2:Attribute>
- <ns2:Attribute Name="firstname" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
- <ns2:AttributeValue>John</ns2:AttributeValue>
- </ns2:Attribute>
- <ns2:Attribute Name="lastname" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
- <ns2:AttributeValue>Doe</ns2:AttributeValue>
- </ns2:Attribute>
- <ns2:Attribute Name="email" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
- </ns2:Attribute>
- <ns2:Attribute Name="optionalParams" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
- <ns2:AttributeValue>OPhoneCountry=1</ns2:AttributeValue>
- <ns2:AttributeValue>OPhoneArea=408</ns2:AttributeValue>
- <ns2:AttributeValue>OPhoneLocal=323.2345</ns2:AttributeValue>
- <ns2:AttributeValue>Address1=4610 Patrick Henry Dr.</ns2:AttributeValue>
- <ns2:AttributeValue>City=Santa Clara</ns2:AttributeValue>
- <ns2:AttributeValue>State=CA</ns2:AttributeValue>
- <ns2:AttributeValue>MT=<10,101,234,543></ns2:AttributeValue>
- <ns2:AttributeValue>TC1=Engineering</ns2:AttributeValue>
- <ns2:AttributeValue>TC2=8723</ns2:AttributeValue>
- </ns2:Attribute>
- </ns2:AttributeStatement>
- </ns2:Assertion>
- </Response>
Advertisement
Add Comment
Please, Sign In to add comment