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<org.opensaml.messaging.context.MessageContext,ResultType>,org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,ResultType>
- Direct Known Subclasses:
HttpClientSecurityConfigurationLookupFunction,SignatureSigningConfigurationLookupFunction,SignatureValidationConfigurationLookupFunction
public abstract class AbstractRelyingPartyLookupFunction<ResultType> extends Object implements org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,ResultType>
Abstract base class for a function that requires aProfileRequestContextobtained via a lookup function, by default the parent of the specifiedMessageContext, and aRelyingPartyContextobtained via a lookup function, by default a child of the aforementioned parent.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<org.opensaml.messaging.context.MessageContext,org.opensaml.profile.context.ProfileRequestContext>profileRequestContextLookupStrategyStrategy used to locate theProfileRequestContextassociated with a givenMessageContext.private Function<org.opensaml.messaging.context.MessageContext,RelyingPartyContext>relyingPartyContextLookupStrategyStrategy used to locate theRelyingPartyContextassociated with a givenMessageContext.
-
Constructor Summary
Constructors Constructor Description AbstractRelyingPartyLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<org.opensaml.messaging.context.MessageContext,org.opensaml.profile.context.ProfileRequestContext>getProfileRequestContextLookupStrategy()Get the strategy used to locate theProfileRequestContextassociated with a givenMessageContext.Function<org.opensaml.messaging.context.MessageContext,RelyingPartyContext>getRelyingPartyContextLookupStrategy()Get the strategy used to locate theRelyingPartyContextassociated with a givenMessageContext.voidsetProfileRequestContextLookupStrategy(Function<org.opensaml.messaging.context.MessageContext,org.opensaml.profile.context.ProfileRequestContext> strategy)Set the strategy used to locate theProfileRequestContextassociated with a givenMessageContext.voidsetRelyingPartyContextLookupStrategy(Function<org.opensaml.messaging.context.MessageContext,RelyingPartyContext> strategy)Set the strategy used to locate theRelyingPartyContextassociated with a givenMessageContext.
-
-
-
Field Detail
-
relyingPartyContextLookupStrategy
@Nonnull private Function<org.opensaml.messaging.context.MessageContext,RelyingPartyContext> relyingPartyContextLookupStrategy
Strategy used to locate theRelyingPartyContextassociated with a givenMessageContext.
-
profileRequestContextLookupStrategy
@Nonnull private Function<org.opensaml.messaging.context.MessageContext,org.opensaml.profile.context.ProfileRequestContext> profileRequestContextLookupStrategy
Strategy used to locate theProfileRequestContextassociated with a givenMessageContext.
-
-
Method Detail
-
getRelyingPartyContextLookupStrategy
@Nonnull public Function<org.opensaml.messaging.context.MessageContext,RelyingPartyContext> getRelyingPartyContextLookupStrategy()
Get the strategy used to locate theRelyingPartyContextassociated with a givenMessageContext.- Returns:
- lookup strategy
-
setRelyingPartyContextLookupStrategy
public void setRelyingPartyContextLookupStrategy(@Nonnull Function<org.opensaml.messaging.context.MessageContext,RelyingPartyContext> strategy)Set the strategy used to locate theRelyingPartyContextassociated with a givenMessageContext.- Parameters:
strategy- lookup strategy
-
getProfileRequestContextLookupStrategy
@Nonnull public Function<org.opensaml.messaging.context.MessageContext,org.opensaml.profile.context.ProfileRequestContext> getProfileRequestContextLookupStrategy()
Get the strategy used to locate theProfileRequestContextassociated with a givenMessageContext.- Returns:
- lookup strategy
-
setProfileRequestContextLookupStrategy
public void setProfileRequestContextLookupStrategy(@Nonnull Function<org.opensaml.messaging.context.MessageContext,org.opensaml.profile.context.ProfileRequestContext> strategy)Set the strategy used to locate theProfileRequestContextassociated with a givenMessageContext.- Parameters:
strategy- lookup strategy
-
-