Child pages
  • 5. attribute-filter.xml
Skip to end of metadata
Go to start of metadata


1. Example of a filter to send attributes to sp.example.asia

Please add following filter expression between <afp:AttributeFilterPolicyGroup> and </afp:AttributeFilterPolicyGroup> in attribute-filter.xml.

    <!--  Release attributes to sp.example.asia -->

    <afp:AttributeFilterPolicy id="PolicyforSifulanAsiaSP">
        <afp:PolicyRequirementRule xsi:type="basic:AttributeRequesterString"
           value="https://sp.example.asia/shibboleth" />

        <afp:AttributeRule attributeID="email">
            <afp:PermitValueRule xsi:type="basic:ANY" />
        </afp:AttributeRule>
<afp:AttributeRule attributeID="commonName"> <afp:PermitValueRule xsi:type="basic:ANY" /> </afp:AttributeRule>
<afp:AttributeRule attributeID="surname"> <afp:PermitValueRule xsi:type="basic:ANY" /> </afp:AttributeRule>
<afp:AttributeRule attributeID="eduPersonAffiliation"> <afp:PermitValueRule xsi:type="basic:ANY" /> </afp:AttributeRule>
<afp:AttributeRule attributeID="eduPersonEntitlement"> <afp:PermitValueRule xsi:type="basic:ANY" /> </afp:AttributeRule>
<afp:AttributeRule attributeID="eduPersonPrincipalName"> <afp:PermitValueRule xsi:type="basic:ANY" /> </afp:AttributeRule> <afp:AttributeRule attributeID="eduPersonScopedAffiliation"> <afp:PermitValueRule xsi:type="basic:ANY" /> </afp:AttributeRule> <afp:AttributeRule attributeID="eduPersonTargetedID"> <afp:PermitValueRule xsi:type="basic:ANY" /> </afp:AttributeRule> </afp:AttributeFilterPolicy>  

Previous Page Parent Page Next Page

  • No labels