Class ProxiedRequesterPredicate

  • All Implemented Interfaces:
    Predicate<org.opensaml.messaging.context.MessageContext>, net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.messaging.context.MessageContext>

    public class ProxiedRequesterPredicate
    extends Object
    implements net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.messaging.context.MessageContext>
    Predicate that determines whether one of a set of candidates is contained in a a ProxiedRequesterContext subcontext.
    Since:
    3.4.0
    • Field Detail

      • entityIds

        @Nonnull
        @NonnullElements
        private final Set<String> entityIds
        Set of entityIDs to check for.
    • Constructor Detail

      • ProxiedRequesterPredicate

        public ProxiedRequesterPredicate​(@Nonnull @NonnullElements
                                         Collection<String> ids)
        Constructor.
        Parameters:
        ids - the entityIDs to check for
    • Method Detail

      • test

        @Nullable
        public boolean test​(@Nullable
                            org.opensaml.messaging.context.MessageContext input)
        Specified by:
        test in interface Predicate<org.opensaml.messaging.context.MessageContext>