Class AbstractRelyingPartyLookupFunction<ResultType>
java.lang.Object
net.shibboleth.idp.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction<ResultType>
- Type Parameters:
ResultType
- return type of function
- All Implemented Interfaces:
Function<MessageContext,
,ResultType> ContextDataLookupFunction<MessageContext,
ResultType>
- Direct Known Subclasses:
HttpClientSecurityConfigurationLookupFunction
,SAMLMetadataContextLookupFunction
,SignatureSigningConfigurationLookupFunction
,SignatureValidationConfigurationLookupFunction
public abstract class AbstractRelyingPartyLookupFunction<ResultType>
extends Object
implements ContextDataLookupFunction<MessageContext,ResultType>
Abstract base class for a function that requires a
ProfileRequestContext
obtained
via a lookup function, by default the parent of the specified MessageContext
, and
a RelyingPartyContext
obtained via a lookup function, by default a child of the
aforementioned parent.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<MessageContext,
ProfileRequestContext> Strategy used to locate theProfileRequestContext
associated with a givenMessageContext
.private 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 theProfileRequestContext
associated with a givenMessageContext
.Get the strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
.void
Set the strategy used to locate theProfileRequestContext
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
. -
profileRequestContextLookupStrategy
Strategy used to locate theProfileRequestContext
associated with a givenMessageContext
.
-
-
Constructor Details
-
AbstractRelyingPartyLookupFunction
public AbstractRelyingPartyLookupFunction()Constructor.
-
-
Method Details
-
getRelyingPartyContextLookupStrategy
Get the strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
.- Returns:
- lookup strategy
-
setRelyingPartyContextLookupStrategy
public void setRelyingPartyContextLookupStrategy(@Nonnull Function<MessageContext, RelyingPartyContext> strategy) Set the strategy used to locate theRelyingPartyContext
associated with a givenMessageContext
.- Parameters:
strategy
- lookup strategy
-
getProfileRequestContextLookupStrategy
@Nonnull public Function<MessageContext,ProfileRequestContext> getProfileRequestContextLookupStrategy()Get the strategy used to locate theProfileRequestContext
associated with a givenMessageContext
.- Returns:
- lookup strategy
-
setProfileRequestContextLookupStrategy
public void setProfileRequestContextLookupStrategy(@Nonnull Function<MessageContext, ProfileRequestContext> strategy) Set the strategy used to locate theProfileRequestContext
associated with a givenMessageContext
.- Parameters:
strategy
- lookup strategy
-