Page tree

The Shibboleth 2.x software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP4 and SP3 wiki spaces for current documentation on the supported versions.

Skip to end of metadata
Go to start of metadata

Authentication Method Regular Expression Attribute Filter Matching Rule

This matching rules evaluates to true if the method used to authenticate the user matches a given regular expression.

Define the Rule

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

  • regex - the regular expression to match
Example Policy Requirement Rule using the AuthenticationMethodRegex Match Function
<PolicyRequirementRule xsi:type="basic:AuthenticationMethodRegex" regex="^urn:oasis:names:tc:SAML:2\.0:ac:classes:[^:]*$" />
  • No labels