|
| 1 | +<?xml version="1.0"?> |
| 2 | +<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="pfxf63324d7-7ba2-b371-90d6-171637d97253" Version="2.0" IssueInstant="2014-07-17T01:01:48Z" Destination="http://sp.example.com/demo1/index.php?acs" InResponseTo="ONELOGIN_4fee3b046395c4e751011e97f8900b5273d56685"> |
| 3 | + <saml:Issuer>https://fujifish.github.io/samling/samling.html</saml:Issuer> |
| 4 | + <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> |
| 5 | + <ds:SignedInfo> |
| 6 | + <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> |
| 7 | + <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/> |
| 8 | + <ds:Reference URI="#pfxf63324d7-7ba2-b371-90d6-171637d97253"> |
| 9 | + <ds:Transforms> |
| 10 | + <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> |
| 11 | + <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> |
| 12 | + </ds:Transforms> |
| 13 | + <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> |
| 14 | + <ds:DigestValue>W7iYqYBNLg7dS+ueqLf04nO5V+c=</ds:DigestValue> |
| 15 | + </ds:Reference> |
| 16 | + </ds:SignedInfo> |
| 17 | + <ds:SignatureValue>THCZWgdX01bDRNyUHHS+u3U7URTI4c3+1cuXKeWFQDjX/yjrC6V/6wCwXtD4VyjU |
| 18 | +aUxevxscW8FBCRTkwDR78A==</ds:SignatureValue> |
| 19 | + <ds:KeyInfo> |
| 20 | + <ds:X509Data> |
| 21 | +<ds:X509Certificate>MIIBhzCCAS0CFGE3kR43hTxJz3hg+bsefDiZjTSiMAoGCCqGSM49BAMCMEUxCzAJ |
| 22 | +BgNVBAYTAkNBMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5l |
| 23 | +dCBXaWRnaXRzIFB0eSBMdGQwIBcNMjQwNjIzMTc0NTQ5WhgPMzAyMzEwMjUxNzQ1 |
| 24 | +NDlaMEUxCzAJBgNVBAYTAkNBMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQK |
| 25 | +DBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwWTATBgcqhkjOPQIBBggqhkjOPQMB |
| 26 | +BwNCAATKNT2CQbh99zdbDIsXZDiWZGUyafCXMl3fWAe/moGDviPWQpJpBYNkSRMc |
| 27 | +W3iDsCoiVFGoO3+7167FU1rlEurGMAoGCCqGSM49BAMCA0gAMEUCIQCdW4SacWlI |
| 28 | +qj04IXo5QNWgbIrG6MKcXbvWEXDmMkiIewIgHkDlDn8Aq4reI+4BvUN+ZDmvOs1I |
| 29 | +UevJyxGd/2RkolE=</ds:X509Certificate> |
| 30 | +</ds:X509Data> |
| 31 | + </ds:KeyInfo> |
| 32 | + </ds:Signature> |
| 33 | + <samlp:Status> |
| 34 | + <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/> |
| 35 | + </samlp:Status> |
| 36 | + <saml:Assertion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" ID="_d71a3a8e9fcc45c9e9d248ef7049393fc8f04e5f75" Version="2.0" IssueInstant="2014-07-17T01:01:48Z"> |
| 37 | + <saml:Issuer>https://fujifish.github.io/samling/samling.html</saml:Issuer> |
| 38 | + <saml:Subject> |
| 39 | + <saml:NameID SPNameQualifier="http://sp.example.com/demo1/metadata.php" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"> |
| 40 | + _ce3d2948b4cf20146dee0a0b3dd6f69b6cf86f62d7</saml:NameID> |
| 41 | + <saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> |
| 42 | + <saml:SubjectConfirmationData NotOnOrAfter="2030-01-18T06:21:48Z" Recipient="http://sp.example.com/demo1/index.php?acs" InResponseTo="ONELOGIN_4fee3b046395c4e751011e97f8900b5273d56685"/> |
| 43 | + </saml:SubjectConfirmation> |
| 44 | + </saml:Subject> |
| 45 | + <saml:Conditions NotBefore="2014-07-17T01:01:18Z" NotOnOrAfter="2030-01-18T06:21:48Z"> |
| 46 | + <saml:AudienceRestriction> |
| 47 | + <saml:Audience>http://test_accept_signed_with_correct_key.test</saml:Audience> |
| 48 | + </saml:AudienceRestriction> |
| 49 | + </saml:Conditions> |
| 50 | + <saml:AuthnStatement AuthnInstant="2014-07-17T01:01:48Z" SessionNotOnOrAfter="2030-07-17T09:01:48Z" SessionIndex="_be9967abd904ddcae3c0eb4189adbe3f71e327cf93"> |
| 51 | + <saml:AuthnContext> |
| 52 | + <saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:Password</saml:AuthnContextClassRef> |
| 53 | + </saml:AuthnContext> |
| 54 | + </saml:AuthnStatement> |
| 55 | + <saml:AttributeStatement> |
| 56 | + <saml:Attribute Name="uid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"> |
| 57 | + <saml:AttributeValue xsi:type="xs:string">test</saml:AttributeValue> |
| 58 | + </saml:Attribute> |
| 59 | + <saml:Attribute Name="mail" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"> |
| 60 | + <saml:AttributeValue xsi:type="xs:string">test@example.com</saml:AttributeValue> |
| 61 | + </saml:Attribute> |
| 62 | + <saml:Attribute Name="eduPersonAffiliation" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"> |
| 63 | + <saml:AttributeValue xsi:type="xs:string">users</saml:AttributeValue> |
| 64 | + <saml:AttributeValue xsi:type="xs:string">examplerole1</saml:AttributeValue> |
| 65 | + </saml:Attribute> |
| 66 | + </saml:AttributeStatement> |
| 67 | + </saml:Assertion> |
| 68 | +</samlp:Response> |
0 commit comments