Class AbstractRelyingPartyPredicate

  • All Implemented Interfaces:
    Predicate<org.opensaml.profile.context.ProfileRequestContext>, net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.profile.context.ProfileRequestContext>
    Direct Known Subclasses:
    DetailedErrorsPredicate, VerifiedProfilePredicate

    public abstract class AbstractRelyingPartyPredicate
    extends Object
    implements net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.profile.context.ProfileRequestContext>
    Base class for a predicate that evaluates a ProfileRequestContext and requires access to a RelyingPartyContext.
    • Field Detail

      • relyingPartyContextLookupStrategy

        @Nonnull
        private Function<org.opensaml.profile.context.ProfileRequestContext,​RelyingPartyContext> relyingPartyContextLookupStrategy
        Strategy function to lookup RelyingPartyContext.
    • Constructor Detail

      • AbstractRelyingPartyPredicate

        public AbstractRelyingPartyPredicate()
        Constructor.
    • Method Detail

      • getRelyingPartyContextLookupStrategy

        @Nonnull
        public Function<org.opensaml.profile.context.ProfileRequestContext,​RelyingPartyContext> getRelyingPartyContextLookupStrategy()
        Get the lookup strategy to use to locate the RelyingPartyContext.
        Returns:
        lookup function to use
      • setRelyingPartyContextLookupStrategy

        public void setRelyingPartyContextLookupStrategy​(@Nonnull
                                                         Function<org.opensaml.profile.context.ProfileRequestContext,​RelyingPartyContext> strategy)
        Set the lookup strategy to use to locate the RelyingPartyContext.
        Parameters:
        strategy - lookup function to use