public class HTTPArtifactDecoder 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 org.slf4j.Logger |
log
Class logger.
|
Constructor and Description |
---|
HTTPArtifactDecoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
decodeTarget(org.opensaml.messaging.context.MessageContext messageContext,
javax.servlet.http.HttpServletRequest request)
Decodes the TARGET parameter and adds it to the message context.
|
protected void |
doDecode() |
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.
|
protected void |
processArtifacts(org.opensaml.messaging.context.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.
|
void |
setBindingDescriptor(BindingDescriptor descriptor)
Set an optional
BindingDescriptor to inject into SAMLBindingContext created. |
decode, doDestroy, doInitialize, getMessageToLog, getParserPool, logDecodedMessage, setParserPool, unmarshallMessage, validateHttpRequest
getHttpServletRequest, setHttpServletRequest
getMessageContext, setMessageContext
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, getMessageContext
@Nonnull private final org.slf4j.Logger log
@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.MessageDecodingException
protected void decodeTarget(org.opensaml.messaging.context.MessageContext messageContext, javax.servlet.http.HttpServletRequest request) throws org.opensaml.messaging.decoder.MessageDecodingException
messageContext
- current message contextrequest
- current servlet requestorg.opensaml.messaging.decoder.MessageDecodingException
- thrown if there is a problem decoding the TARGET parameter.protected void processArtifacts(org.opensaml.messaging.context.MessageContext messageContext, javax.servlet.http.HttpServletRequest request) throws org.opensaml.messaging.decoder.MessageDecodingException
messageContext
- current message contextrequest
- current servlet requestorg.opensaml.messaging.decoder.MessageDecodingException
- thrown if there is a problem decoding or dereferencing the artifactsprotected void populateBindingContext(org.opensaml.messaging.context.MessageContext<SAMLObject> messageContext)
messageContext
- the current message contextCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.