Class AbstractRelyingPartyPredicate
java.lang.Object
net.shibboleth.idp.profile.logic.messaging.AbstractRelyingPartyPredicate
- All Implemented Interfaces:
Predicate<MessageContext>
,Predicate<MessageContext>
- Direct Known Subclasses:
ClientTLSArtifactRequestsPredicate
,ClientTLSSOAPLogoutRequestsPredicate
,SignArtifactRequestsPredicate
,SignSOAPLogoutRequestsPredicate
public abstract class AbstractRelyingPartyPredicate
extends Object
implements Predicate<MessageContext>
Abstract base class for a predicate that evaluates a
MessageContext
and which requires a RelyingPartyContext
obtained via a lookup function,
by default a child of the InOutOperationContext
the parent of the specified MessageContext
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<MessageContext,
RelyingPartyContext> Strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
.void
Set the strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
.
-
Field Details
-
relyingPartyContextLookupStrategy
Strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
.
-
-
Constructor Details
-
AbstractRelyingPartyPredicate
public AbstractRelyingPartyPredicate()Constructor.
-
-
Method Details
-
setRelyingPartyContextLookupStrategy
public void setRelyingPartyContextLookupStrategy(@Nonnull Function<MessageContext, RelyingPartyContext> strategy) Set the strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
.- Parameters:
strategy
- lookup strategy
-
getRelyingPartyContextLookupStrategy
Get the strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
.- Returns:
- lookup strategy
-