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 Details

    • AttributeRecipientIdPredicate

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

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