public class SelectProfileConfiguration extends AbstractMessageHandler
ProfileConfiguration for the given message context and sets it in the looked-up
RelyingPartyContext.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private com.google.common.base.Function<MessageContext,String> |
profileIdLookupStrategy
Strategy used to locate the effective profile ID associated with a given
MessageContext. |
private com.google.common.base.Function<MessageContext,RelyingPartyContext> |
relyingPartyContextLookupStrategy
Strategy used to locate the
RelyingPartyContext associated with a given MessageContext. |
private RelyingPartyContext |
rpCtx
The RelyingPartyContext to operate on.
|
| Constructor and Description |
|---|
SelectProfileConfiguration()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
protected void |
doInvoke(MessageContext messageContext) |
protected boolean |
doPreInvoke(MessageContext messageContext) |
void |
setProfiledIdLookupStrategy(com.google.common.base.Function<MessageContext,String> strategy)
Set the strategy used to locate the effective profile ID associated with a given
MessageContext. |
void |
setRelyingPartyContextLookupStrategy(com.google.common.base.Function<MessageContext,RelyingPartyContext> strategy)
Set the strategy used to locate the
RelyingPartyContext associated with a given
MessageContext. |
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationConditiondestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
@NonnullAfterInit private com.google.common.base.Function<MessageContext,RelyingPartyContext> relyingPartyContextLookupStrategy
RelyingPartyContext associated with a given MessageContext.@Nonnull private com.google.common.base.Function<MessageContext,String> profileIdLookupStrategy
MessageContext.@Nullable private RelyingPartyContext rpCtx
public void setRelyingPartyContextLookupStrategy(@Nonnull com.google.common.base.Function<MessageContext,RelyingPartyContext> strategy)
RelyingPartyContext associated with a given
MessageContext.strategy - strategy used to locate the RelyingPartyContext associated with a given
MessageContextpublic void setProfiledIdLookupStrategy(@Nonnull com.google.common.base.Function<MessageContext,String> strategy)
MessageContext.strategy - strategy used to locate the RelyingPartyContext associated with a given
MessageContextprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionprotected boolean doPreInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doPreInvoke in class AbstractMessageHandlerMessageHandlerExceptionprotected void doInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doInvoke in class AbstractMessageHandlerMessageHandlerExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.