public class HTTPArtifactDecoder extends BaseHttpServletRequestXMLMessageDecoder<SAMLObject> implements SAMLMessageDecoder
Constructor and Description |
---|
HTTPArtifactDecoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
decodeTarget(MessageContext messageContext,
javax.servlet.http.HttpServletRequest request)
Decodes the TARGET parameter and adds it to the message context.
|
protected void |
doDecode()
Performs the decoding logic.
|
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.
|
protected void |
processArtifacts(MessageContext messageContext,
javax.servlet.http.HttpServletRequest request)
Process the incoming artifacts by decoding the artifacts, dereferencing them from the artifact source and
storing the resulting response (with assertions) in the message context.
|
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 void decodeTarget(MessageContext messageContext, javax.servlet.http.HttpServletRequest request) throws MessageDecodingException
messageContext
- current message contextrequest
- current servlet requestMessageDecodingException
- thrown if there is a problem decoding the TARGET parameter.protected void processArtifacts(MessageContext messageContext, javax.servlet.http.HttpServletRequest request) throws MessageDecodingException
messageContext
- current message contextrequest
- current servlet requestMessageDecodingException
- thrown if there is a problem decoding or dereferencing the artifactsprotected void populateBindingContext(MessageContext<SAMLObject> messageContext)
messageContext
- the current message contextCopyright © 2016. All rights reserved.