public class AddSenderHandler
extends org.opensaml.soap.messaging.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 Function<org.opensaml.messaging.context.MessageContext,String> |
providerIdLookupFunction
The providerId lookup function.
|
| Constructor and Description |
|---|
AddSenderHandler()
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 |
setProviderIdLookupFunction(Function<org.opensaml.messaging.context.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 Function<org.opensaml.messaging.context.MessageContext,String> providerIdLookupFunction
private String providerId
public void setProviderIdLookupFunction(Function<org.opensaml.messaging.context.MessageContext,String> function)
function - the lookup functionprotected boolean doPreInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doPreInvoke in class org.opensaml.soap.messaging.AbstractHeaderGeneratingMessageHandlerorg.opensaml.messaging.handler.MessageHandlerExceptionprotected void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doInvoke in class org.opensaml.messaging.handler.AbstractMessageHandlerorg.opensaml.messaging.handler.MessageHandlerExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.