Class AbstractRelyingPartyLookupFunction<ResultType>
- java.lang.Object
-
- net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction<ResultType>
-
- Type Parameters:
ResultType- return type of function
- All Implemented Interfaces:
Function<ProfileRequestContext,ResultType>,ContextDataLookupFunction<ProfileRequestContext,ResultType>
- Direct Known Subclasses:
ClientTLSValidationConfigurationLookupFunction,DecryptionConfigurationLookupFunction,EncryptionConfigurationLookupFunction,IdentifierGenerationStrategyLookupFunction,InboundFlowsLookupFunction,OutboundFlowsLookupFunction,RelyingPartyIdLookupFunction,ResponderIdLookupFunction,SignatureSigningConfigurationLookupFunction,SignatureValidationConfigurationLookupFunction
public abstract class AbstractRelyingPartyLookupFunction<ResultType> extends Object implements ContextDataLookupFunction<ProfileRequestContext,ResultType>
Abstract base class for a function that requires aRelyingPartyContextobtained via a lookup function, by default a child of theProfileRequestContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,RelyingPartyContext>relyingPartyContextLookupStrategyStrategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.
-
Constructor Summary
Constructors Constructor Description AbstractRelyingPartyLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<ProfileRequestContext,RelyingPartyContext>getRelyingPartyContextLookupStrategy()Get the strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.voidsetRelyingPartyContextLookupStrategy(Function<ProfileRequestContext,RelyingPartyContext> strategy)Set the strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.
-
-
-
Field Detail
-
relyingPartyContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy
Strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.
-
-
Method Detail
-
setRelyingPartyContextLookupStrategy
public void setRelyingPartyContextLookupStrategy(@Nonnull Function<ProfileRequestContext,RelyingPartyContext> strategy)Set the strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.- Parameters:
strategy- lookup strategy
-
getRelyingPartyContextLookupStrategy
@Nonnull public Function<ProfileRequestContext,RelyingPartyContext> getRelyingPartyContextLookupStrategy()
Get the strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.- Returns:
- lookup strategy
-
-