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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Principal Name Regular Expression Attribute Filter Matching Rule

This matching rules evaluates to true if the user's principal name matches a given regular expression.

Define the Rule

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

  • regex - the regular expression to match
Example Policy Requirement Rule using the PrincipalNameRegex Match Function
<PolicyRequirementRule xsi:type="basic:PrincipalNameRegex" regex="^jsmit.*$" />
  • No labels