The Shibboleth V2 IdP and SP software have reached End of Life and are no longer supported. This documentation is available for historical purposes only. See the IDP v4 and SP v3 wiki spaces for current documentation on the supported versions.

IdPFilterRequirementAttributeValueRegex

Attribute Value Regular Expression Attribute Filter Matching Rule

This matching rule evaluates to true if the entire value of an attribute matches a given regular expression.

Define the Rule

This rule is defined by the element <PolicyRequirementRule xsi:type="basic:AttributeValueRegex">, for policy requirements rules, and <PermitValueRule xsi:type="basic:AttributeValueRegex">, for permit value rules, with the follow attributes:

  • regex - the regular expression to match
  • attributeID - ID of the attribute whose values will be matched
Example Policy Requirement Rule using the AttributeValueRegex Match Function
<PolicyRequirementRule xsi:type="basic:AttributeValueRegex" attributeID="uid" regex="^jsmit.*$" />