The Shibboleth IdP V3 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP4 wiki space for current documentation on the supported version.

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 5 Next »

Overview

The AttributeRequesterRegex (basic:AttributeRequesterRegex prior to 3.2.0) 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 AttributeRequesterRegex  type is defined by the urn:mace:shibboleth:2.0:afp schema, which can be located at http://shibboleth.net/schema/idp/shibboleth-afp.xsd.

Prior to release 3.2.0 the basic:AttributeRequesterRegex  type is defined by the urn:mace:shibboleth:2.0:afp:mf:basic schema, 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

  • regex : a required attribute which specifies the java regular expression to match against

Child Elements

None

Example

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

 

Apply this rule if the SP edtityID started with https://sp.example.org.

 

  • No labels