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:
CheckAddressPredicate
,DetailedErrorsPredicate
,DetailedErrorsProfileConfigPredicate
,ForceAuthnProfileConfigPredicate
,IgnoreRequestSignaturesPredicate
,IgnoreScopingProfileConfigPredicate
,IncludeAttributeStatementPredicate
,LoopDetectionPredicate
,NotBeforeProfileConfigPredicate
,ResolveAttributesPredicate
,SignAssertionsPredicate
,SignRequestsPredicate
,SignResponsesPredicate
,SOAPErrorPredicate
,SuppressAuthenticatingAuthorityPredicate
,VerifiedProfilePredicate
public abstract class AbstractRelyingPartyPredicate
extends Object
implements Predicate<ProfileRequestContext>
Base class for a predicate that evaluates a
ProfileRequestContext
and requires access to a
RelyingPartyContext
.-
Field Summary
FieldsModifier and TypeFieldDescriptionStrategy function to lookup RelyingPartyContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the lookup strategy to use to locate theRelyingPartyContext
.void
Set the lookup strategy to use to locate theRelyingPartyContext
.
-
Field Details
-
relyingPartyContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategyStrategy function to lookup RelyingPartyContext.
-
-
Constructor Details
-
AbstractRelyingPartyPredicate
public AbstractRelyingPartyPredicate()Constructor.
-
-
Method Details
-
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
-