public class LibertyHTTPSOAP11Decoder
extends org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder<org.opensaml.saml.common.SAMLObject>
implements org.opensaml.saml.common.binding.decoding.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 org.opensaml.saml.common.binding.BindingDescriptor |
bindingDescriptor
Optional
BindingDescriptor to inject into SAMLBindingContext created. |
private org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.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() |
org.opensaml.saml.common.binding.BindingDescriptor |
getBindingDescriptor()
Get an optional
BindingDescriptor to inject into SAMLBindingContext created. |
String |
getBindingURI() |
org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> |
getBodyHandler()
Get the configured body handler MessageHandler.
|
protected org.opensaml.core.xml.XMLObject |
getMessageToLog() |
protected void |
populateBindingContext(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
void |
setBindingDescriptor(org.opensaml.saml.common.binding.BindingDescriptor descriptor)
Set an optional
BindingDescriptor to inject into SAMLBindingContext created. |
void |
setBodyHandler(org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.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 org.opensaml.saml.common.binding.BindingDescriptor bindingDescriptor
BindingDescriptor to inject into SAMLBindingContext created.private org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> bodyHandler
@Nonnull @NotEmpty public String getBindingURI()
getBindingURI in interface org.opensaml.saml.common.binding.decoding.SAMLMessageDecoder@Nullable public org.opensaml.saml.common.binding.BindingDescriptor getBindingDescriptor()
BindingDescriptor to inject into SAMLBindingContext created.public void setBindingDescriptor(@Nullable org.opensaml.saml.common.binding.BindingDescriptor descriptor)
BindingDescriptor to inject into SAMLBindingContext created.descriptor - a binding descriptorpublic org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> getBodyHandler()
public void setBodyHandler(org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> newBodyHandler)
newBodyHandler - The bodyHandler to set.protected void doInitialize()
throws ComponentInitializationException
doInitialize in class org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder<org.opensaml.saml.common.SAMLObject>ComponentInitializationExceptionprotected void doDecode()
throws org.opensaml.messaging.decoder.MessageDecodingException
doDecode in class org.opensaml.messaging.decoder.AbstractMessageDecoder<org.opensaml.saml.common.SAMLObject>org.opensaml.messaging.decoder.MessageDecodingExceptionprotected void populateBindingContext(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext)
messageContext - the current message contextprotected org.opensaml.core.xml.XMLObject getMessageToLog()
getMessageToLog in class org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder<org.opensaml.saml.common.SAMLObject>Copyright © 1999–2017 Shibboleth Consortium. All rights reserved.