This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
/
saml-response-template.xml
47 lines (47 loc) · 3.1 KB
/
saml-response-template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
ID="_304b128835edaa863d4b417a436287d4683466bc92" Version="2.0" IssueInstant="issue-instant-field"
Destination="http://localhost:9091/waiter-auth/saml/acs"
InResponseTo="WAITER-cd16a263-428f-4ced-818b-4c8ae39ef04d"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<saml:Issuer>https://localhost:8443/simplesaml/saml2/idp/metadata.php</saml:Issuer>
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</samlp:Status>
<saml:Assertion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"
ID="_0961dc799196b1db16692458c81ef46b0bc1f61d40" Version="2.0" IssueInstant="issue-instant-field">
<saml:Issuer>https://localhost:8443/simplesaml/saml2/idp/metadata.php</saml:Issuer>
<ds:Signature Id="placeholder"></ds:Signature>
<saml:Subject>
<saml:NameID SPNameQualifier="waiter" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient">
_c2c02940517f53c3ea1673f6406fb34fd39aa7bcf6
</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="not-on-or-after-field"
Recipient="http://localhost:9091/waiter-auth/saml/acs"
InResponseTo="WAITER-cd16a263-428f-4ced-818b-4c8ae39ef04d"/>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore="2019-05-15T21:47:16Z" NotOnOrAfter="not-on-or-after-field">
<saml:AudienceRestriction>
<saml:Audience>waiter</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AuthnStatement AuthnInstant="issue-instant-field" SessionNotOnOrAfter="session-not-on-or-after-field"
SessionIndex="_b85d82cd923ced243c056fb26ce08c8e3819ebf49e">
<saml:AuthnContext>
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:Password</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
<saml:AttributeStatement>
<saml:Attribute Name="uid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xsi:type="xs:string">1</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="eduPersonAffiliation" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xsi:type="xs:string">group1</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="email" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xsi:type="xs:string">auth-user-field@example.com</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
</saml:Assertion>
</samlp:Response>