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.

RelyingPartyIdPredicate

The predicate named shibboleth.Conditions.RelyingPartyId provide a simple mechanism to make decisions based on the entityID of the relying party

Is an activation condition, which means that is can be automatically configured as an activation condition, this also means it can also configured anywhere that a ProfileRequestContext is supplied as input.

It is an abstract bean and so your version has to be appropriately constructed.  Three mechanism are provided:

  1. By name.  One constructor called candidate is supplied.  This is a String value for a single entity.
  2. By Names. One constructor called candidates is supplied. This is a list of String values for the entities
  3. By Function.  One constructor called pred is supplied.  This is a bean implementing Predicate<String> which is applied to the relying party

Examples

Examples for all three mechanisms can be found here