Class HTTPSOAP11Decoder

  • All Implemented Interfaces:
    net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.InitializableComponent, net.shibboleth.utilities.java.support.component.UnmodifiableComponent, org.opensaml.messaging.decoder.MessageDecoder, org.opensaml.messaging.decoder.servlet.HttpServletRequestMessageDecoder, org.opensaml.saml.common.binding.decoding.SAMLMessageDecoder

    public class HTTPSOAP11Decoder
    extends org.opensaml.soap.soap11.decoder.http.impl.HTTPSOAP11Decoder
    implements org.opensaml.saml.common.binding.decoding.SAMLMessageDecoder
    SAML 2.0 SOAP 1.1 over HTTP binding decoder.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.saml.common.binding.BindingDescriptor bindingDescriptor
      Optional BindingDescriptor to inject into SAMLBindingContext created.
      private Logger log
      Class logger.
    • Constructor Summary

      Constructors 
      Constructor Description
      HTTPSOAP11Decoder()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doDecode()
      org.opensaml.saml.common.binding.BindingDescriptor getBindingDescriptor()
      Get an optional BindingDescriptor to inject into SAMLBindingContext created.
      String getBindingURI()
      protected void populateBindingContext​(org.opensaml.messaging.context.MessageContext messageContext)
      Populate the context which carries information specific to this binding.
      void setBindingDescriptor​(org.opensaml.saml.common.binding.BindingDescriptor descriptor)
      Set an optional BindingDescriptor to inject into SAMLBindingContext created.
      • Methods inherited from class org.opensaml.soap.soap11.decoder.http.impl.HTTPSOAP11Decoder

        doInitialize, getBodyHandler, getMessageToLog, setBodyHandler, validateHttpRequest
      • Methods inherited from class org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder

        decode, doDestroy, getParserPool, logDecodedMessage, setParserPool, unmarshallMessage
      • Methods inherited from class org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder

        getHttpServletRequest, setHttpServletRequest
      • 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 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 Detail

      • log

        @Nonnull
        private final Logger log
        Class logger.
      • bindingDescriptor

        @Nullable
        private org.opensaml.saml.common.binding.BindingDescriptor bindingDescriptor
        Optional BindingDescriptor to inject into SAMLBindingContext created.
    • Constructor Detail

      • HTTPSOAP11Decoder

        public HTTPSOAP11Decoder()
        Constructor.
    • Method Detail

      • getBindingURI

        @Nonnull
        @NotEmpty
        public String getBindingURI()
        Specified by:
        getBindingURI in interface org.opensaml.saml.common.binding.decoding.SAMLMessageDecoder
      • getBindingDescriptor

        @Nullable
        public org.opensaml.saml.common.binding.BindingDescriptor getBindingDescriptor()
        Get an optional BindingDescriptor to inject into SAMLBindingContext created.
        Returns:
        binding descriptor
      • setBindingDescriptor

        public void setBindingDescriptor​(@Nullable
                                         org.opensaml.saml.common.binding.BindingDescriptor descriptor)
        Set an optional BindingDescriptor to inject into SAMLBindingContext created.
        Parameters:
        descriptor - a binding descriptor
      • doDecode

        protected void doDecode()
                         throws org.opensaml.messaging.decoder.MessageDecodingException
        Overrides:
        doDecode in class org.opensaml.soap.soap11.decoder.http.impl.HTTPSOAP11Decoder
        Throws:
        org.opensaml.messaging.decoder.MessageDecodingException
      • populateBindingContext

        protected void populateBindingContext​(org.opensaml.messaging.context.MessageContext messageContext)
        Populate the context which carries information specific to this binding.
        Parameters:
        messageContext - the current message context