Skip to content

Commit bd95adf

Browse files
author
Roland Hedberg
committed
Missing file
1 parent c3f51e3 commit bd95adf

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

tests/attribute_response.xml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"
2+
Destination="https://myreviewroom.com/saml2/acs/"
3+
ID="_ad152626fd672edce3ddd43f14d09e02"
4+
InResponseTo="id-f4d370f3d03650f3ec0da694e2348bfe"
5+
IssueInstant="2014-09-14T21:01:32.081Z"
6+
Version="2.0"
7+
>
8+
<saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"
9+
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
10+
https://idp.canarie.ca/idp/shibboleth
11+
</saml2:Issuer>
12+
<saml2p:Status>
13+
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
14+
</saml2p:Status>
15+
<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"
16+
ID="_2bbbcc700be3473f4796722b07806638"
17+
IssueInstant="2014-09-14T21:01:32.081Z"
18+
Version="2.0"
19+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
20+
>
21+
<saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
22+
https://idp.canarie.ca/idp/shibboleth
23+
</saml2:Issuer>
24+
<saml2:Subject>
25+
<saml2:NameID
26+
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
27+
NameQualifier="https://idp.canarie.ca/idp/shibboleth"
28+
SPNameQualifier="urn:mace:example.com:saml:roland:sp"
29+
>_f6224ef32bb60b146e88463aab04aa6a
30+
</saml2:NameID>
31+
<saml2:SubjectConfirmation
32+
Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
33+
<saml2:SubjectConfirmationData Address="192.168.1.1"
34+
InResponseTo="id-f4d370f3d03650f3ec0da694e2348bfe"
35+
NotOnOrAfter="2014-09-14T21:06:32.081Z"
36+
Recipient="https://myreviewroom.com/saml2/acs/"
37+
/>
38+
</saml2:SubjectConfirmation>
39+
</saml2:Subject>
40+
<saml2:Conditions NotBefore="2014-09-14T21:01:32.081Z"
41+
NotOnOrAfter="2014-09-14T21:06:32.081Z"
42+
>
43+
<saml2:AudienceRestriction>
44+
<saml2:Audience>urn:mace:example.com:saml:roland:sp
45+
</saml2:Audience>
46+
</saml2:AudienceRestriction>
47+
</saml2:Conditions>
48+
<saml2:AuthnStatement AuthnInstant="2014-09-14T21:01:11.172Z"
49+
SessionIndex="a01c6b996dcc7e2e30a3ecbf30e166211f49cd2f857f44b461f56b96a38285a7"
50+
>
51+
<saml2:SubjectLocality Address="192.168.1.1"/>
52+
<saml2:AuthnContext>
53+
<saml2:AuthnContextClassRef>
54+
urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
55+
</saml2:AuthnContextClassRef>
56+
</saml2:AuthnContext>
57+
</saml2:AuthnStatement>
58+
<saml2:AttributeStatement>
59+
<saml2:Attribute FriendlyName="mail"
60+
Name="urn:oid:0.9.2342.19200300.100.1.3"
61+
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
62+
>
63+
<saml2:AttributeValue
64+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
65+
xsi:type="xs:string"
66+
67+
</saml2:AttributeValue>
68+
</saml2:Attribute>
69+
<saml2:Attribute FriendlyName="eduPersonTargetedID"
70+
Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10"
71+
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
72+
>
73+
<saml2:AttributeValue>
74+
<saml2:NameID
75+
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
76+
NameQualifier="https://idp.canarie.ca/idp/shibboleth"
77+
SPNameQualifier="urn:mace:example.com:saml:roland:sp"
78+
>NRIvsX5gMK+TnqejcQP9jH8nTIk=
79+
</saml2:NameID>
80+
</saml2:AttributeValue>
81+
</saml2:Attribute>
82+
</saml2:AttributeStatement>
83+
</saml2:Assertion>
84+
</saml2p:Response>

0 commit comments

Comments
 (0)