The Shibboleth IdP V4 software will leave support on September 1, 2024.

RequesterRegexConfiguration

Namespace: urn:mace:shibboleth:2.0:afp
Schema: http://shibboleth.net/schema/idp/shibboleth-afp.xsd

Overview

The RequesterRegex is a PolicyRule which returns true if the entityID of the party requesting the attributes (usually the SP) matches the supplied Pattern.

Reference

Name

Type

Default

Description

Name

Type

Default

Description

regex

Pattern

 

Required, the Java regular expression to match against

caseSensitive

boolean

true

Whether the comparison is case sensitive

Example

Apply this rule if the SP entityID starts with "https://sp.example.org/":

<PolicyRequirementRule xsi:type="RequesterRegex" regex="^https://sp\.example\.org/.*$" />