MessageType - the type of message being carriedpublic abstract class AbstractMessageChannelSecurity<MessageType> extends AbstractMessageHandler<MessageType>
MessageChannelSecurityContext on a BaseContext,
where the latter is located using a lookup strategy.| Modifier and Type | Field and Description |
|---|---|
private BaseContext |
parentContext
Parent for eventual context.
|
private com.google.common.base.Function<MessageContext,BaseContext> |
parentContextLookupStrategy
Strategy used to look up the parent
BaseContext on which the
MessageChannelSecurityContext will be populated. |
| Constructor and Description |
|---|
AbstractMessageChannelSecurity()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doPreInvoke(MessageContext messageContext) |
protected BaseContext |
getParentContext()
Get the parent context on which the
MessageChannelSecurityContext
will be populated. |
void |
setParentContextLookupStrategy(com.google.common.base.Function<MessageContext,BaseContext> strategy)
Set the strategy used to look up the parent
BaseContext on which the
MessageChannelSecurityContext will be populated. |
doInvoke, doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationConditiondestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized@Nonnull private com.google.common.base.Function<MessageContext,BaseContext> parentContextLookupStrategy
BaseContext on which the
MessageChannelSecurityContext will be populated.@Nullable private BaseContext parentContext
public AbstractMessageChannelSecurity()
public void setParentContextLookupStrategy(@Nonnull com.google.common.base.Function<MessageContext,BaseContext> strategy)
BaseContext on which the
MessageChannelSecurityContext will be populated.strategy - strategy used to look up the parent BaseContext on which to populate
the MessageChannelSecurityContextprotected boolean doPreInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doPreInvoke in class AbstractMessageHandler<MessageType>MessageHandlerExceptionprotected BaseContext getParentContext()
MessageChannelSecurityContext
will be populated.Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.