public class HTTPPostDecoder extends BaseHttpServletRequestXMLMessageDecoder<SAMLObject> implements SAMLMessageDecoder
Constructor and Description |
---|
HTTPPostDecoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDecode()
Performs the decoding logic.
|
protected InputStream |
getBase64DecodedMessage(javax.servlet.http.HttpServletRequest request)
Gets the Base64 encoded message from the request and decodes it.
|
String |
getBindingURI()
Gets the SAML binding URI supported by this decoder.
|
protected void |
populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
decode, doDestroy, doInitialize, getMessageToLog, getParserPool, logDecodedMessage, setParserPool, unmarshallMessage
getHttpServletRequest, setHttpServletRequest
getMessageContext, setMessageContext
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, getMessageContext
public String getBindingURI()
getBindingURI
in interface SAMLMessageDecoder
protected void doDecode() throws MessageDecodingException
doDecode
in class AbstractMessageDecoder<SAMLObject>
MessageDecodingException
- thrown if there is a problem decoding the messageprotected InputStream getBase64DecodedMessage(javax.servlet.http.HttpServletRequest request) throws MessageDecodingException
request
- the inbound HTTP servlet requestMessageDecodingException
- thrown if the message does not contain a base64 encoded SAML messageprotected void populateBindingContext(MessageContext<SAMLObject> messageContext)
messageContext
- the current message contextCopyright © 2019. All rights reserved.