compact xml suite

This commit is contained in:
Valentin Samir 2015-06-02 00:03:57 +02:00
parent 9f29d1ef20
commit 54f9b7c50c
1 changed files with 3 additions and 5 deletions

View File

@ -16,7 +16,7 @@
<Conditions NotBefore="{{IssueInstant}}" NotOnOrAfter="{{expireInstant}}"> <Conditions NotBefore="{{IssueInstant}}" NotOnOrAfter="{{expireInstant}}">
<AudienceRestrictionCondition> <AudienceRestrictionCondition>
<Audience> <Audience>
https://some-service.example.com/app/ {{Recipient}}
</Audience> </Audience>
</AudienceRestrictionCondition> </AudienceRestrictionCondition>
</Conditions> </Conditions>
@ -29,12 +29,10 @@
</ConfirmationMethod> </ConfirmationMethod>
</SubjectConfirmation> </SubjectConfirmation>
</Subject> </Subject>
{% for name, value in attributes %} {% for name, value in attributes %} <Attribute AttributeName="name" AttributeNamespace="http://www.ja-sig.org/products/cas/">
<Attribute AttributeName="name" AttributeNamespace="http://www.ja-sig.org/products/cas/">
<AttributeValue>value</AttributeValue> <AttributeValue>value</AttributeValue>
</Attribute> </Attribute>
{% endfor %} {% endfor %} </AttributeStatement>
</AttributeStatement>
<AuthenticationStatement AuthenticationInstant="{{IssueInstant}}" <AuthenticationStatement AuthenticationInstant="{{IssueInstant}}"
AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password"> AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
<Subject> <Subject>