Class AttributeRecipientIdPredicate
java.lang.Object
net.shibboleth.shared.logic.StrategyIndirectedPredicate<ProfileRequestContext,String>
net.shibboleth.idp.attribute.resolver.logic.AttributeRecipientIdPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
public class AttributeRecipientIdPredicate
extends StrategyIndirectedPredicate<ProfileRequestContext,String>
Predicate that evaluates a
ProfileRequestContext by looking for an attribute recipient
that matches one of a designated set. The ID is obtained from a lookup function, by default from
a AttributeResolutionContext child of the
profile request context.-
Constructor Summary
ConstructorsConstructorDescriptionAttributeRecipientIdPredicate(Collection<String> candidates) Constructor.Constructor. -
Method Summary
Methods inherited from class net.shibboleth.shared.logic.StrategyIndirectedPredicate
forCollection, forPredicate, test
-
Constructor Details
-
AttributeRecipientIdPredicate
public AttributeRecipientIdPredicate(@ParameterName(name="candidates") @Nonnull Collection<String> candidates) Constructor.- Parameters:
candidates- hardwired set of values to check against
-
AttributeRecipientIdPredicate
Constructor.- Parameters:
pred- generalized predicate
-