public class AddChannelBindingsHeaderHandler
extends org.opensaml.messaging.handler.AbstractMessageHandler
ChannelBindings
headers to an outgoing SOAP envelope.Modifier and Type | Field and Description |
---|---|
private ChannelBindingsContext |
channelBindingsContext
The ChannelBindingsContext to operate on.
|
private com.google.common.base.Function<org.opensaml.messaging.context.MessageContext,ChannelBindingsContext> |
channelBindingsContextLookupStrategy
Strategy used to locate the
ChannelBindingsContext to operate on. |
private org.slf4j.Logger |
log
Class logger.
|
Constructor and Description |
---|
AddChannelBindingsHeaderHandler()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
protected boolean |
doPreInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
void |
setChannelBindingsContextLookupStrategy(com.google.common.base.Function<org.opensaml.messaging.context.MessageContext,ChannelBindingsContext> strategy)
Set the strategy used to locate the
ChannelBindingsContext to operate on. |
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
@Nonnull private final org.slf4j.Logger log
@Nonnull private com.google.common.base.Function<org.opensaml.messaging.context.MessageContext,ChannelBindingsContext> channelBindingsContextLookupStrategy
ChannelBindingsContext
to operate on.@Nullable private ChannelBindingsContext channelBindingsContext
public AddChannelBindingsHeaderHandler()
public void setChannelBindingsContextLookupStrategy(@Nonnull com.google.common.base.Function<org.opensaml.messaging.context.MessageContext,ChannelBindingsContext> strategy)
ChannelBindingsContext
to operate on.strategy
- lookup strategyprotected boolean doPreInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doPreInvoke
in class org.opensaml.messaging.handler.AbstractMessageHandler
org.opensaml.messaging.handler.MessageHandlerException
protected void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doInvoke
in class org.opensaml.messaging.handler.AbstractMessageHandler
org.opensaml.messaging.handler.MessageHandlerException
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.