public class HTTPPostDecoder extends org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder<SAMLObject> implements SAMLMessageDecoder
| Modifier and Type | Field and Description |
|---|---|
private BindingDescriptor |
bindingDescriptor
Optional
BindingDescriptor to inject into SAMLBindingContext created. |
private Logger |
log
Class logger.
|
| Constructor and Description |
|---|
HTTPPostDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDecode() |
protected InputStream |
getBase64DecodedMessage(javax.servlet.http.HttpServletRequest request)
Gets the Base64 encoded message from the request and decodes it.
|
BindingDescriptor |
getBindingDescriptor()
Get an optional
BindingDescriptor to inject into SAMLBindingContext created. |
String |
getBindingURI() |
protected void |
populateBindingContext(org.opensaml.messaging.context.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. |
decode, doDestroy, doInitialize, getMessageToLog, getParserPool, logDecodedMessage, setParserPool, unmarshallMessage, validateHttpRequestgetHttpServletRequest, setHttpServletRequestgetMessageContext, setMessageContextdestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, getMessageContext@Nullable private BindingDescriptor bindingDescriptor
BindingDescriptor to inject into SAMLBindingContext created.@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 descriptorprotected void doDecode()
throws org.opensaml.messaging.decoder.MessageDecodingException
doDecode in class org.opensaml.messaging.decoder.AbstractMessageDecoder<SAMLObject>org.opensaml.messaging.decoder.MessageDecodingExceptionprotected InputStream getBase64DecodedMessage(javax.servlet.http.HttpServletRequest request) throws org.opensaml.messaging.decoder.MessageDecodingException
request - the inbound HTTP servlet requestorg.opensaml.messaging.decoder.MessageDecodingException - thrown if the message does not contain a base64 encoded SAML messageprotected void populateBindingContext(org.opensaml.messaging.context.MessageContext<SAMLObject> messageContext)
messageContext - the current message contextCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.