Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
shib-idp-conftree/conf/attribute-filter.xml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
100 lines (90 sloc)
3.98 KB
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
This file is an EXAMPLE policy file. While the policy presented in this | |
example file is illustrative of some simple cases, it relies on the names of | |
non-existent example services and the example attributes demonstrated in the | |
default attribute-resolver.xml file. | |
Deployers should refer to the documentation for a complete list of components | |
and their options. | |
--> | |
<AttributeFilterPolicyGroup id="ShibbolethFilterPolicy" | |
xmlns="urn:mace:shibboleth:2.0:afp" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:mace:shibboleth:2.0:afp http://shibboleth.net/schema/idp/shibboleth-afp.xsd"> | |
<!-- EXAMPLES --> | |
<!-- Release some attributes to an SP. --> | |
<!-- | |
<AttributeFilterPolicy id="example1"> | |
<PolicyRequirementRule xsi:type="Requester" value="https://sp.example.org" /> | |
<AttributeRule attributeID="eduPersonPrincipalName"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="uid"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="mail"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
</AttributeFilterPolicy> | |
--> | |
<!-- Release eduPersonAffiliation to two specific SPs. --> | |
<!-- | |
<AttributeFilterPolicy id="example2"> | |
<PolicyRequirementRule xsi:type="OR"> | |
<Rule xsi:type="Requester" value="https://sp.example.org" /> | |
<Rule xsi:type="Requester" value="https://another.example.org/shibboleth" /> | |
</PolicyRequirementRule> | |
<AttributeRule attributeID="eduPersonScopedAffiliation"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
</AttributeFilterPolicy> | |
--> | |
<!-- Attribute release for all SPs (global) tagged as 'Research and Scholarship' --> | |
<AttributeFilterPolicy id="releaseRandSAttributeBundle"> | |
<PolicyRequirementRule xsi:type="EntityAttributeExactMatch" | |
attributeName="http://macedir.org/entity-category" | |
attributeValue="http://refeds.org/category/research-and-scholarship"/> | |
<AttributeRule attributeID="eduPersonPrincipalName"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="eduPersonScopedAffiliation"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="givenName"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="surname"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="displayName"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="mail"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
</AttributeFilterPolicy> | |
<!-- Attribute release for all InCommon SPs --> | |
<AttributeFilterPolicy id="releaseToInCommon"> | |
<PolicyRequirementRule xsi:type="EntityAttributeExactMatch" | |
attributeName="http://macedir.org/entity-category" | |
attributeValue="http://id.incommon.org/category/registered-by-incommon"/> | |
<AttributeRule attributeID="eduPersonPrincipalName"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="eduPersonScopedAffiliation"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="givenName"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="surname"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="displayName"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
<AttributeRule attributeID="mail"> | |
<PermitValueRule xsi:type="ANY" /> | |
</AttributeRule> | |
</AttributeFilterPolicy> | |
</AttributeFilterPolicyGroup> |