Versions Compared

Key

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

Overview

A <afp:PolicyRequirementRule> describes <PolicyRequirementRule> defines the circumstances under which <afp:AttributeFilterPolicy>an <AttributeFilterPolicy> is applicable to be activea request.

If the <afp:PolicyRequirementRule> returns true a <PolicyRequirementRule> evaluates to true, then all the <afp:AttributeRule> <AttributeRule> elements of the surrounding <afp:AttributeFilterPolicy> containing <AttributeFilterPolicy> are evaluated.

The actual function behavior of the rule this element is defined by the xsi:type of the element.  Any Any of the Common Types can be specified, but it is more usual that a PolicyRule is specified.

If a Matcher is specified, then it is converted into a PolicyRequirement rule as described here.

Attributes and child elements are as defined for the specific type.

Schema Name and Location

Elements and types described in this page and its children are defined in one of three schema

...

The element itself is defined within the urn:mace:shibboleth:2.0:afp

...

namespace, the schema for which can be located

...

at http://shibboleth.net/schema/idp/shibboleth-afp.xsd

...

The actual plugin types used are defined in namespaces specific to those types (though in practice they are now defined within the same namespace, or a pair of legacy namespaces in older versions, as described throughout this documentation.

Example

Code Block
languagexml
 <afp:PolicyRequirementRule<PolicyRequirementRule xsi:type="Requester" value="https://sp.example.org" />