Class AttributeIssuerIdPredicate

java.lang.Object
net.shibboleth.utilities.java.support.logic.StrategyIndirectedPredicate<ProfileRequestContext,​String>
net.shibboleth.idp.attribute.resolver.logic.AttributeIssuerIdPredicate
All Implemented Interfaces:
Predicate<ProfileRequestContext>, Predicate<ProfileRequestContext>

public class AttributeIssuerIdPredicate
extends StrategyIndirectedPredicate<ProfileRequestContext,​String>
Predicate that evaluates a ProfileRequestContext by looking for an attribute issuer that matches one of a designated set or a generic predicate. The ID is obtained from a lookup function, by default from a AttributeResolutionContext child of the profile request context.
  • Constructor Details

    • AttributeIssuerIdPredicate

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

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