The predicate named shibboleth.Conditions.RelyingPartyId
provide a simple mechanism to make decisions based on the entityID of the relying partymparty
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.
These are abstract beans It is an abstract bean and so your version has to be appropriately constructed. They are usually constructed with a single parameter, being the list of predicated to be consulted, but as a short a two parameter version allows you to provide exactly two parameters,
Examples
Examples Three mechanism are provided:
- By name. One constructor called
candidate
is supplied. This is a String value for a single entity. - By Names. One constructor called
candidates
is supplied. This is a list of String values for the entities - 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