Package net.shibboleth.idp.profile.logic
Class AbstractRelyingPartyPredicate
- java.lang.Object
-
- net.shibboleth.idp.profile.logic.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 aProfileRequestContextand requires access to aRelyingPartyContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext>relyingPartyContextLookupStrategyStrategy function to lookup RelyingPartyContext.
-
Constructor Summary
Constructors Constructor Description AbstractRelyingPartyPredicate()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext>getRelyingPartyContextLookupStrategy()Get the lookup strategy to use to locate theRelyingPartyContext.voidsetRelyingPartyContextLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> strategy)Set the lookup strategy to use to locate theRelyingPartyContext.
-
-
-
Field Detail
-
relyingPartyContextLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy
Strategy function to lookup RelyingPartyContext.
-
-
Method Detail
-
getRelyingPartyContextLookupStrategy
@Nonnull public Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> getRelyingPartyContextLookupStrategy()
Get the lookup strategy to use to locate theRelyingPartyContext.- 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 theRelyingPartyContext.- Parameters:
strategy- lookup function to use
-
-