public class LibertyHTTPSOAP11Decoder extends BaseHttpServletRequestXMLMessageDecoder<SAMLObject> implements SAMLMessageDecoder
This decoder takes a mandatory MessageHandler instance which is used to determine
and populate the message that is returned as the MessageContext.getMessage().
A SOAP message-oriented message exchange style might just populate the Envelope as the message. An application-specific payload-oriented message exchange would handle a specific type of payload structure.
| Modifier and Type | Field and Description |
|---|---|
private BindingDescriptor |
bindingDescriptor
Optional
BindingDescriptor to inject into SAMLBindingContext created. |
private MessageHandler<SAMLObject> |
bodyHandler
Message handler to use in processing the message body.
|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
LibertyHTTPSOAP11Decoder()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDecode() |
protected void |
doInitialize() |
BindingDescriptor |
getBindingDescriptor()
Get an optional
BindingDescriptor to inject into SAMLBindingContext created. |
String |
getBindingURI() |
MessageHandler<SAMLObject> |
getBodyHandler()
Get the configured body handler MessageHandler.
|
protected XMLObject |
getMessageToLog() |
protected void |
populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
void |
setBindingDescriptor(BindingDescriptor descriptor)
Set an optional
BindingDescriptor to inject into SAMLBindingContext created. |
void |
setBodyHandler(MessageHandler<SAMLObject> newBodyHandler)
Set the configured body handler MessageHandler.
|
decode, doDestroy, getParserPool, logDecodedMessage, setParserPool, unmarshallMessage, validateHttpRequestgetHttpServletRequest, setHttpServletRequestgetMessageContext, setMessageContextdestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, getMessageContextinitialize, isInitializeddestroy, isDestroyed@Nonnull private final org.slf4j.Logger log
@Nullable private BindingDescriptor bindingDescriptor
BindingDescriptor to inject into SAMLBindingContext created.private MessageHandler<SAMLObject> bodyHandler
@Nonnull @NotEmpty public String getBindingURI()
getBindingURI in interface SAMLMessageDecoder@Nullable public BindingDescriptor getBindingDescriptor()
BindingDescriptor to inject into SAMLBindingContext created.public void setBindingDescriptor(@Nullable BindingDescriptor descriptor)
BindingDescriptor to inject into SAMLBindingContext created.descriptor - a binding descriptorpublic MessageHandler<SAMLObject> getBodyHandler()
public void setBodyHandler(MessageHandler<SAMLObject> newBodyHandler)
newBodyHandler - The bodyHandler to set.protected void doInitialize()
throws ComponentInitializationException
doInitialize in class BaseHttpServletRequestXMLMessageDecoder<SAMLObject>ComponentInitializationExceptionprotected void doDecode()
throws MessageDecodingException
doDecode in class AbstractMessageDecoder<SAMLObject>MessageDecodingExceptionprotected void populateBindingContext(MessageContext<SAMLObject> messageContext)
messageContext - the current message contextprotected XMLObject getMessageToLog()
getMessageToLog in class BaseHttpServletRequestXMLMessageDecoder<SAMLObject>Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.