Overview
The RequesterRegex
(basic:AttributeRequesterRegex
prior prior to 3V3.2.0) is is a PolicyRule which returns true if the entityID of the party requesting the attributes (usually the SP) matches the supplied Java regular expression.
Schema Name
The RequesterRegex
type is defined by the urn:mace:shibboleth:2.0:afp
namespace, the schema , for which can be located at http://shibboleth.net/schema/idp/shibboleth-afp.xsd.
Prior to release 3V3.2.0 , the basic:AttributeRequesterRegex
type is defined by the the deprecated urn:mace:shibboleth:2.0:afp:mf:basic
namespace, the schema , for which can be located at http://shibboleth.net/schema/idp/shibboleth-afp-mf-basic.xsd.
Use of that namespace is deprecated, but is supported.
Attributes
Only one attribute may be specified
...
Code Block |
---|
<PolicyRequirementRule xsi:type="RequesterRegex" regex="^https://sp.example.org/.*$" /> |
...