Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add a test to the utility for replacing HideFromWAYF element with hid…
…e-from-disco Entity Category
Alex Stuart
committed
Mar 1, 2017
1 parent
a8e99a7
commit 042e774
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" | ||
xmlns:mdattr="urn:oasis:names:tc:SAML:metadata:attribute" | ||
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" | ||
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:oasis:names:tc:SAML:2.0:metadata saml-schema-metadata-2.0.xsd | ||
urn:oasis:names:tc:SAML:metadata:attribute sstc-metadata-attr.xsd | ||
urn:oasis:names:tc:SAML:2.0:assertion saml-schema-assertion-2.0.xsd | ||
http://sdss.ac.uk/2006/06/WAYF uk-wayf.xsd" | ||
ID="test000275" entityID="https://idp.example.ac.uk/idp/shibboleth"> | ||
<Extensions> | ||
<mdattr:EntityAttributes> | ||
<saml:Attribute Name="http://macedir.org/entity-category-support" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"> | ||
<saml:AttributeValue>http://refeds.org/category/research-and-scholarship</saml:AttributeValue> | ||
</saml:Attribute> | ||
</mdattr:EntityAttributes> | ||
<wayf:HideFromWAYF /> | ||
</Extensions> | ||
</EntityDescriptor> |