Class HttpClientResponseSOAP11Decoder
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.opensaml.messaging.decoder.httpclient.AbstractHttpClientResponseMessageDecoder
org.opensaml.messaging.decoder.httpclient.BaseHttpClientResponseXMLMessageDecoder
org.opensaml.soap.client.soap11.decoder.http.impl.HttpClientResponseSOAP11Decoder
org.opensaml.saml.saml2.binding.decoding.impl.HttpClientResponseSOAP11Decoder
- All Implemented Interfaces:
Component
,DestructableComponent
,InitializableComponent
,UnmodifiableComponent
,HttpClientResponseMessageDecoder
,MessageDecoder
,SAMLMessageDecoder
public class HttpClientResponseSOAP11Decoder
extends HttpClientResponseSOAP11Decoder
implements SAMLMessageDecoder
SAML 2.0 SOAP 1.1 over HTTP binding decoder for HttpClient HttpResponse.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BindingDescriptor
OptionalBindingDescriptor
to inject intoSAMLBindingContext
created.private final org.slf4j.Logger
Class logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doDecode()
Performs the decoding logic.Get an optionalBindingDescriptor
to inject intoSAMLBindingContext
created.Gets the SAML binding URI supported by this decoder.protected void
populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.void
setBindingDescriptor
(BindingDescriptor descriptor) Set an optionalBindingDescriptor
to inject intoSAMLBindingContext
created.Methods inherited from class org.opensaml.soap.client.soap11.decoder.http.impl.HttpClientResponseSOAP11Decoder
buildFaultException, doInitialize, getBodyHandler, getFault, getMessageToLog, processSuccessResponse, setBodyHandler
Methods inherited from class org.opensaml.messaging.decoder.httpclient.BaseHttpClientResponseXMLMessageDecoder
decode, doDestroy, getParserPool, logDecodedMessage, setParserPool, unmarshallMessage
Methods inherited from class org.opensaml.messaging.decoder.httpclient.AbstractHttpClientResponseMessageDecoder
getHttpResponse, setHttpResponse
Methods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
getMessageContext, setMessageContext
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.DestructableComponent
destroy, isDestroyed
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
Methods inherited from interface org.opensaml.messaging.decoder.MessageDecoder
decode, getMessageContext
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
bindingDescriptor
OptionalBindingDescriptor
to inject intoSAMLBindingContext
created.
-
-
Constructor Details
-
HttpClientResponseSOAP11Decoder
public HttpClientResponseSOAP11Decoder()Constructor.
-
-
Method Details
-
getBindingURI
Gets the SAML binding URI supported by this decoder.- Specified by:
getBindingURI
in interfaceSAMLMessageDecoder
- Returns:
- SAML binding URI supported by this decoder
-
getBindingDescriptor
Get an optionalBindingDescriptor
to inject intoSAMLBindingContext
created.- Returns:
- binding descriptor
-
setBindingDescriptor
Set an optionalBindingDescriptor
to inject intoSAMLBindingContext
created.- Parameters:
descriptor
- a binding descriptor
-
doDecode
Performs the decoding logic. By the time this is called, this decoder has already been initialized and checked to ensure that it has not been destroyed.- Overrides:
doDecode
in classHttpClientResponseSOAP11Decoder
- Throws:
MessageDecodingException
- thrown if there is a problem decoding the message
-
populateBindingContext
Populate the context which carries information specific to this binding.- Parameters:
messageContext
- the current message context
-