2015-05-22 17:31:50 +00:00
|
|
|
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
|
|
|
|
<SOAP-ENV:Header />
|
|
|
|
<SOAP-ENV:Body>
|
|
|
|
<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" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" IssueInstant="{{IssueInstant}}"
|
|
|
|
MajorVersion="1" MinorVersion="1" Recipient="{{Recipient}}"
|
|
|
|
ResponseID="{{ResponseID}}">
|
|
|
|
<Status>
|
|
|
|
<StatusCode Value="samlp:Success">
|
|
|
|
</StatusCode>
|
|
|
|
</Status>
|
|
|
|
<Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="{{ResponseID}}"
|
|
|
|
IssueInstant="{{IssueInstant}}" Issuer="localhost" MajorVersion="1"
|
|
|
|
MinorVersion="1">
|
|
|
|
<Conditions NotBefore="{{IssueInstant}}" NotOnOrAfter="{{expireInstant}}">
|
|
|
|
<AudienceRestrictionCondition>
|
|
|
|
<Audience>
|
2015-06-01 22:03:57 +00:00
|
|
|
{{Recipient}}
|
2015-05-22 17:31:50 +00:00
|
|
|
</Audience>
|
|
|
|
</AudienceRestrictionCondition>
|
|
|
|
</Conditions>
|
|
|
|
<AttributeStatement>
|
|
|
|
<Subject>
|
|
|
|
<NameIdentifier>{{username}}</NameIdentifier>
|
|
|
|
<SubjectConfirmation>
|
|
|
|
<ConfirmationMethod>
|
|
|
|
urn:oasis:names:tc:SAML:1.0:cm:artifact
|
|
|
|
</ConfirmationMethod>
|
|
|
|
</SubjectConfirmation>
|
|
|
|
</Subject>
|
2016-04-29 17:56:32 +00:00
|
|
|
{% for name, value in attributes %} <Attribute AttributeName="{{name}}" AttributeNamespace="http://www.ja-sig.org/products/cas/">
|
|
|
|
<AttributeValue>{{value}}</AttributeValue>
|
2015-05-22 17:31:50 +00:00
|
|
|
</Attribute>
|
2015-06-01 22:03:57 +00:00
|
|
|
{% endfor %} </AttributeStatement>
|
2015-05-22 17:31:50 +00:00
|
|
|
<AuthenticationStatement AuthenticationInstant="{{IssueInstant}}"
|
|
|
|
AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
|
|
|
|
<Subject>
|
|
|
|
<NameIdentifier>{{username}}</NameIdentifier>
|
|
|
|
<SubjectConfirmation>
|
|
|
|
<ConfirmationMethod>
|
|
|
|
urn:oasis:names:tc:SAML:1.0:cm:artifact
|
|
|
|
</ConfirmationMethod>
|
|
|
|
</SubjectConfirmation>
|
|
|
|
</Subject>
|
|
|
|
</AuthenticationStatement>
|
|
|
|
</Assertion>
|
|
|
|
</Response>
|
|
|
|
</SOAP-ENV:Body>
|
|
|
|
</SOAP-ENV:Envelope>
|