Package net.shibboleth.idp.profile.logic
Class AbstractRelyingPartyPredicate
- java.lang.Object
-
- net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
-
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,Predicate<ProfileRequestContext>
- Direct Known Subclasses:
DetailedErrorsPredicate,LoopDetectionPredicate,VerifiedProfilePredicate
public abstract class AbstractRelyingPartyPredicate extends Object implements Predicate<ProfileRequestContext>
Base class for a predicate that evaluates aProfileRequestContextand requires access to aRelyingPartyContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<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<ProfileRequestContext,RelyingPartyContext>getRelyingPartyContextLookupStrategy()Get the lookup strategy to use to locate theRelyingPartyContext.voidsetRelyingPartyContextLookupStrategy(Function<ProfileRequestContext,RelyingPartyContext> strategy)Set the lookup strategy to use to locate theRelyingPartyContext.
-
-
-
Field Detail
-
relyingPartyContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy
Strategy function to lookup RelyingPartyContext.
-
-
Method Detail
-
getRelyingPartyContextLookupStrategy
@Nonnull public Function<ProfileRequestContext,RelyingPartyContext> getRelyingPartyContextLookupStrategy()
Get the lookup strategy to use to locate theRelyingPartyContext.- Returns:
- lookup function to use
-
setRelyingPartyContextLookupStrategy
public void setRelyingPartyContextLookupStrategy(@Nonnull Function<ProfileRequestContext,RelyingPartyContext> strategy)Set the lookup strategy to use to locate theRelyingPartyContext.- Parameters:
strategy- lookup function to use
-
-