Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Overview

The IssuerRegex type is a PolicyRule which returns true if the entityID of the party issuing the attributes (usually, but not always, the IdP itself) matches the supplied Java regular expression Pattern.

The primary use case for this is proxying when filtering inbound attributes, or in "multi-homing" scenarios in which the IdP may be representing multiple sources of attributes itself under different names.

Reference

XML Attributes

Name

Type

Required?

Default

Description

regex

 

Pattern

YSpecifies the java

Required, the Java regular expression to match against

.

Child Elements

...

caseSensitive

boolean

true

Whether the comparison is case sensitive

Example

Apply this rule if the IdP entityID starts with "https://idp.example.org/":

Code Block
<PolicyRequirementRule xsi:type="IssuerRegex" regex="^https://idp\.example\.org/.*$" />