Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" ID="identifier_1" InResponseTo="identifier_1" Version="2.0" IssueInstant="2004-12-05T09:22:05Z" Destination="https://sp.example.com/SAML2/SSO/POST">
- <saml:Issuer>https://idp.example.org/SAML2</saml:Issuer>
- <samlp:Status>
- <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
- </samlp:Status>
- <saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" ID="identifier_2" Version="2.0" IssueInstant="2004-12-05T09:22:05Z">
- <saml:Issuer>https://idp.example.org/SAML2</saml:Issuer>
- <!-- a POSTed assertion MUST be signed -->
- <saml:Subject>
- <saml:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient">
- 3f7b3dcf-1674-4ecd-92c8-1544f346baf8
- </saml:NameID>
- <saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
- <saml:SubjectConfirmationData InResponseTo="identifier_1" Recipient="https://sp.example.com/SAML2/SSO/POST" NotOnOrAfter="2004-12-05T09:27:05Z"/>
- </saml:SubjectConfirmation>
- </saml:Subject>
- <saml:Conditions NotBefore="2004-12-05T09:17:05Z" NotOnOrAfter="2004-12-05T09:27:05Z">
- <saml:AudienceRestriction>
- <saml:Audience>https://sp.example.com/SAML2</saml:Audience>
- </saml:AudienceRestriction>
- </saml:Conditions>
- <saml:AuthnStatement AuthnInstant="2004-12-05T09:22:00Z" SessionIndex="identifier_3">
- <saml:AuthnContext>
- <saml:AuthnContextClassRef>
- urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
- </saml:AuthnContextClassRef>
- </saml:AuthnContext>
- </saml:AuthnStatement>
- <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
- <dsig:SignedInfo xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
- <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/>
- <dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/>
- <dsig:Reference URI="#identifier_2">
- <dsig:Transforms>
- <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
- <dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
- </dsig:Transforms>
- <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
- <dsig:DigestValue></dsig:DigestValue>
- </dsig:Reference>
- </dsig:SignedInfo>
- <dsig:SignatureValue></dsig:SignatureValue>
- <dsig:KeyInfo>
- <dsig:KeyValue>
- <dsig:DSAKeyValue>
- <dsig:P>
- </dsig:P>
- <dsig:Q>
- </dsig:Q>
- <dsig:G>
- </dsig:G>
- <dsig:Y>
- </dsig:Y>
- </dsig:DSAKeyValue>
- </dsig:KeyValue>
- </dsig:KeyInfo>
- </dsig:Signature></saml:Assertion>
- </samlp:Response>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement