diff options
author | Johan Lundberg <lundberg@sunet.se> | 2022-12-09 11:12:19 +0100 |
---|---|---|
committer | Johan Lundberg <lundberg@sunet.se> | 2022-12-09 11:12:19 +0100 |
commit | 8185902f9f5db8f85bcc6f3362ebdee2ae595ba4 (patch) | |
tree | 4ef3b62a70251079b3a52331eeff471bb5eff6ac /tests/entity_esi_and_coco_sp.xml | |
parent | 5eb48c3f6c82889c6a3f8b950ac9848600dc5380 (diff) | |
download | pysaml2-8185902f9f5db8f85bcc6f3362ebdee2ae595ba4.tar.gz |
add test for requested subject id
Diffstat (limited to 'tests/entity_esi_and_coco_sp.xml')
-rw-r--r-- | tests/entity_esi_and_coco_sp.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/entity_esi_and_coco_sp.xml b/tests/entity_esi_and_coco_sp.xml index a076535b..f4e0ccbb 100644 --- a/tests/entity_esi_and_coco_sp.xml +++ b/tests/entity_esi_and_coco_sp.xml @@ -7,6 +7,9 @@ <saml:AttributeValue>https://myacademicid.org/entity-categories/esi</saml:AttributeValue> <saml:AttributeValue>http://www.geant.net/uri/dataprotection-code-of-conduct/v1</saml:AttributeValue> </saml:Attribute> + <saml:Attribute xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Name="urn:oasis:names:tc:SAML:profiles:subject-id:req" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> + <saml:AttributeValue>any</saml:AttributeValue> + </saml:Attribute> </mdattr:EntityAttributes></ns0:Extensions> <ns0:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"> <ns0:KeyDescriptor use="encryption"> @@ -65,7 +68,7 @@ wHyaxzYldWmVC5omkgZeAdCGpJ316GQF8Zwg/yDOUzm4cvGeIESf1Q6ZxBwI6zGE </ns0:KeyDescriptor> <ns0:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://esi-coco.example.edu/saml2/ls/"/> <ns0:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://esi-coco.example.edu/saml2/acs/" index="1"/> - <!-- Require eduPersonTargetedID --> + <!-- Require schacHomeOrganization and eduPersonScopedAffiliation --> <ns0:AttributeConsumingService index="0"> <ns0:ServiceName xml:lang="en">esi-coco-SP</ns0:ServiceName> <ns0:ServiceDescription xml:lang="en">ESI and COCO SP</ns0:ServiceDescription> |