Create parser pool interface and move current pool to an implementation of this inter...
[java-idp.git] / tests / data / AttributePushAssertion.xml
1 <Response xmlns="urn:oasis:names:tc:SAML:1.0:protocol" 
2         xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" 
3         xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" 
4         xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
5         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
6         IssueInstant="2006-11-17T18:21:43.428Z" 
7         MajorVersion="1" MinorVersion="1" 
8         Recipient="https://sp.example.org/shibboleth-sp/Shibboleth.sso/SAML/POST" 
9         ResponseID="_87070ade79c83d58ff51a98535185d9c">
10         <Status><StatusCode Value="samlp:Success"></StatusCode></Status>
11         <Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="_9505a09e2cc9fa81dad54790204650b5" IssueInstant="2005-11-17T18:21:43.194Z" Issuer="https://idp.example.org/shibboleth" MajorVersion="1" MinorVersion="1">
12                 <Conditions NotBefore="2005-11-17T18:21:43.194Z" NotOnOrAfter="2006-11-17T18:26:43.194Z">
13                         <AudienceRestrictionCondition>
14                                 <Audience>https://sp.example.org/shibboleth</Audience>
15                                 <Audience>urn:mace:shibboleth:examples</Audience>
16                         </AudienceRestrictionCondition>
17                 </Conditions>
18                 <AuthenticationStatement AuthenticationInstant="2005-11-17T18:21:43.178Z" AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:unspecified">
19                         <Subject>
20                                 <NameIdentifier Format="urn:mace:shibboleth:1.0:nameIdentifier" NameQualifier="https://idp.example.org/shibboleth">_2d83b26798d9315becc934817d93942b</NameIdentifier>
21                                 <SubjectConfirmation>
22                                         <ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer</ConfirmationMethod>
23                                 </SubjectConfirmation>
24                         </Subject>
25                         <SubjectLocality IPAddress="127.0.0.1"></SubjectLocality>
26                 </AuthenticationStatement>
27         </Assertion>
28         <Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="_234ed5c8b167c13a7eeebb0265dec432" IssueInstant="2005-11-17T18:21:43.428Z" Issuer="https://idp.example.org/shibboleth" MajorVersion="1" MinorVersion="1">
29                 <Conditions NotBefore="2005-11-17T18:21:43.428Z" NotOnOrAfter="2006-11-17T18:51:43.428Z">
30                         <AudienceRestrictionCondition>
31                                 <Audience>https://sp.example.org/shibboleth</Audience>
32                                 <Audience>urn:mace:shibboleth:examples</Audience>
33                         </AudienceRestrictionCondition>
34                 </Conditions>
35                 <AttributeStatement>
36                         <Subject>
37                                 <NameIdentifier Format="urn:mace:shibboleth:1.0:nameIdentifier" NameQualifier="https://idp.example.org/shibboleth">_2d83b26798d9315becc934817d93942b</NameIdentifier>
38                                 <SubjectConfirmation><ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer</ConfirmationMethod></SubjectConfirmation>
39                         </Subject>
40                         <Attribute AttributeName="urn:mace:dir:attribute-def:title" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
41                                 <AttributeValue>clown</AttributeValue>
42                         </Attribute>
43                         <Attribute AttributeName="urn:mace:dir:attribute-def:eduPersonScopedAffiliation" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
44                                 <AttributeValue Scope="example.org">member</AttributeValue>
45                         </Attribute>
46                         <Attribute AttributeName="urn:mace:dir:attribute-def:eduPersonAffiliation" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
47                                 <AttributeValue>member</AttributeValue>
48                         </Attribute>
49                         <Attribute AttributeName="urn:mace:dir:attribute-def:unacceptable" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
50                                 <AttributeValue>nonsense</AttributeValue>
51                         </Attribute>
52                         <Attribute AttributeName="urn:mace:dir:attribute-def:givenName" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
53                                 <AttributeValue>Bozo</AttributeValue>
54                         </Attribute>
55                         <Attribute AttributeName="urn:mace:dir:attribute-def:surname" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
56                                 <AttributeValue>Clown</AttributeValue>
57                         </Attribute>
58                         <Attribute AttributeName="urn:mace:dir:attribute-def:eduPersonPrincipalName" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
59                                 <AttributeValue Scope="example.org">BozoTClown</AttributeValue>
60                         </Attribute>
61                 </AttributeStatement>
62         </Assertion>
63 </Response>