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:
- 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