Class AttributeRecipientIdPredicate

java.lang.Object
net.shibboleth.utilities.java.support.logic.StrategyIndirectedPredicate<ProfileRequestContext,String>
net.shibboleth.idp.attribute.resolver.logic.AttributeRecipientIdPredicate
All Implemented Interfaces:
Predicate<ProfileRequestContext>, 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 Details

    • AttributeRecipientIdPredicate

      public AttributeRecipientIdPredicate(@Nonnull @NonnullElements Collection<String> candidates)
      Constructor.
      Parameters:
      candidates - hardwired set of values to check against
    • AttributeRecipientIdPredicate

      public AttributeRecipientIdPredicate(@Nonnull Predicate<String> pred)
      Constructor.
      Parameters:
      pred - generalized predicate