IdPFilterRequirementAttributeScopeRegex
Attribute Scope Regular Expression Attribute Filter Matching Rule
This matching rules evaluates to true if the scope of a value of an attribute matches a given regular expression.
Define the Rule
This rule is defined by the element <PolicyRequirementRule xsi:type="basic:AttributeScopeRegex">
, for policy requirements rules, and <PermitValueRule xsi:type="basic:AttributeScopeRegex">
, 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 AttributeScopeRegex Match Function
<PolicyRequirementRule xsi:type="basic:AttributeScopeRegex" attributeID="uid" regex="^[^.]*\.edu$" />