public class AddSenderHandler extends AbstractHeaderGeneratingMessageHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
AddSenderHandler.SAMLSelfEntityIDLookupFunction
Function to return the SAML self entityID from the MessageContext.
|
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Logger.
|
private String |
providerId
The providerId value to send.
|
private com.google.common.base.Function<MessageContext,String> |
providerIdLookupFunction
The providerId lookup function.
|
| Constructor and Description |
|---|
AddSenderHandler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInvoke(MessageContext messageContext) |
protected boolean |
doPreInvoke(MessageContext messageContext) |
void |
setProviderIdLookupFunction(com.google.common.base.Function<MessageContext,String> function)
Set the providerId lookup function.
|
decorateGeneratedHeader, getEffectiveTargetNode, isEffectiveMustUnderstand, setMustUnderstand, setMustUnderstandStrategy, setTargetNode, setTargetNodeStrategydoPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationConditiondestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitializedprivate org.slf4j.Logger log
private com.google.common.base.Function<MessageContext,String> providerIdLookupFunction
private String providerId
public void setProviderIdLookupFunction(com.google.common.base.Function<MessageContext,String> function)
function - the lookup functionprotected boolean doPreInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doPreInvoke in class AbstractHeaderGeneratingMessageHandlerMessageHandlerExceptionprotected void doInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doInvoke in class AbstractMessageHandlerMessageHandlerExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.