Advertisement
Guest User

Example XML

a guest
Mar 14th, 2012
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.66 KB | None | 0 0
  1. <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  2.   <SOAP-ENV:Body>
  3.     <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
  4.      xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.      Version="2.0" ID="78d52c82-ca3d-412e-b8e0-d3ee58e1d6504" IssueInstant="2012-03-07T21:10:48Z" Destination="http://localhost:8080/saml/logon/">
  6.       <saml:Issuer>https://xyz.myissuer.com</saml:Issuer>
  7.       <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  8.         <SignedInfo>
  9.           <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
  10.           <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
  11.           <Reference URI="#78d52c82-ca3d-412e-b8e0-d3ee58e1d604">
  12.             <Transforms>
  13.               <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
  14.               <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
  15.             </Transforms>
  16.             <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
  17.             <DigestValue>digestvaluehere</DigestValue>
  18.           </Reference>
  19.         </SignedInfo>
  20.         <SignatureValue>sigvaluehere</SignatureValue>
  21.         <KeyInfo>
  22.           <X509Data>
  23.             <X509Certificate>certvaluehere</X509Certificate>
  24.           </X509Data>
  25.         </KeyInfo>
  26.       </Signature>
  27.       <samlp:Status>
  28.         <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success" />
  29.       </samlp:Status>
  30.       <saml:Assertion Version="2.0" ID="3030559302a043af9c68add09c9ef602" IssueInstant="2012-03-07T21:10:48Z">
  31.         <saml:Issuer>https://xyz.myissuer.com</saml:Issuer>
  32.         <saml:Subject>
  33.           <saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">guest</saml:NameID>
  34.           <saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer" />
  35.         </saml:Subject>
  36.         <saml:Conditions NotBefore="2012-03-07T21:07:48Z" NotOnOrAfter="2012-03-07T21:13:48Z">
  37.           <saml:AudienceRestriction>
  38.             <saml:Audience>service.provider.com</saml:Audience>
  39.           </saml:AudienceRestriction>
  40.         </saml:Conditions>
  41.         <saml:AuthnStatement AuthnInstant="2012-03-07T21:10:38Z" SessionIndex="_0dbeffdc-303b-47db-badd-804544230ddd">
  42.           <saml:AuthnContext>
  43.             <saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:Password</saml:AuthnContextClassRef>
  44.           </saml:AuthnContext>
  45.         </saml:AuthnStatement>
  46.       </saml:Assertion>
  47.     </samlp:Response>
  48.   </SOAP-ENV:Body>
  49. </SOAP-ENV:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement