Child pages
  • 5. attribute-filter.xml

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3


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.

Panel
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
    <!--  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>  

Prevnextbuttons