Class HTTPPostDecoder

    • Constructor Detail

      • HTTPPostDecoder

        public HTTPPostDecoder()
    • Method Detail

      • getBindingURI

        @Nonnull
        @NotEmpty
        public String getBindingURI()
        Gets the SAML binding URI supported by this decoder.
        Specified by:
        getBindingURI in interface SAMLMessageDecoder
        Returns:
        SAML binding URI supported by this decoder
      • getBase64DecodedMessage

        protected InputStream getBase64DecodedMessage​(javax.servlet.http.HttpServletRequest request)
                                               throws MessageDecodingException
        Gets the Base64 encoded message from the request and decodes it.
        Parameters:
        request - the inbound HTTP servlet request
        Returns:
        decoded message
        Throws:
        MessageDecodingException - thrown if the message does not contain a base64 encoded SAML message, or the message can not be base64-decoded.
      • populateBindingContext

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