Create parser pool interface and move current pool to an implementation of this inter...
[java-idp.git] / tests / data / idp / blackbox / aa / response08.txt
1 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body>
2     <Response xmlns="urn:oasis:names:tc:SAML:1.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" InResponseTo="d206a5ba1d50c3afd855dea0b0106cb6" IssueInstant="[^"]+" MajorVersion="1" MinorVersion="1" ResponseID="[^"]+">
3         <Status>
4             <StatusCode Value="samlp:Success"></StatusCode>
5         </Status>
6         <Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="[^"]+" IssueInstant="[^"]+" Issuer="urn:x-shibtest:IdP" MajorVersion="1" MinorVersion="1">
7             <Conditions NotBefore="[^"]+" NotOnOrAfter="[^"]+">
8                 <AudienceRestrictionCondition>
9                     <Audience>urn:x-shibtest:SP</Audience>
10                     <Audience>urn:x-shibtest:IdP:defaultRelyingParty</Audience>
11                 </AudienceRestrictionCondition>
12             </Conditions>
13             <AttributeStatement>
14                 <Subject>
15                     <NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" NameQualifier="urn:x-shibtest:IdP">
16                         test-handle
17                     </NameIdentifier>
18                 </Subject>
19                 <Attribute AttributeName="urn:mace:dir:attribute-def:eduPersonEntitlement" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
20                     <AttributeValue>urn:mace:example.edu:exampleEntitlement</AttributeValue>
21                 </Attribute>
22                 <Attribute AttributeName="urn:mace:dir:attribute-def:eduPersonScopedAffiliation" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
23                     <AttributeValue Scope="example.org">member</AttributeValue>
24                 </Attribute>
25                 <Attribute AttributeName="urn:mace:dir:attribute-def:eduPersonAffiliation" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
26                     <AttributeValue>member</AttributeValue>
27                 </Attribute>
28                 <Attribute AttributeName="urn:mace:dir:attribute-def:eduPersonPrincipalName" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
29                     <AttributeValue>test-handle</AttributeValue>
30                 </Attribute>
31             </AttributeStatement>
32             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
33                 <ds:SignedInfo>
34                     <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
35                     <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
36                     <ds:Reference URI="[^"]+">
37                         <ds:Transforms>
38                             <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform>
39                             <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
40                                 <ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="code ds kind rw saml samlp typens #default xsd xsi">
41                         </ec:InclusiveNamespaces>
42                             </ds:Transform>
43                         </ds:Transforms>
44                         <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
45                         <ds:DigestValue>[^<]+</ds:DigestValue>
46                     </ds:Reference>
47                 </ds:SignedInfo>
48                 <ds:SignatureValue>[^<]+</ds:SignatureValue>
49                 <ds:KeyInfo>
50                 <ds:X509Data>
51                 <ds:X509Certificate>[^<]+</ds:X509Certificate>
52                 </ds:X509Data>
53                 </ds:KeyInfo>
54             </ds:Signature>
55         </Assertion>
56     </Response>
57 </soap:Body></soap:Envelope>