Class Pac4jHTTPRedirectDeflateDecoder

java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.pac4j.saml.transport.AbstractPac4jDecoder
org.pac4j.saml.transport.Pac4jHTTPRedirectDeflateDecoder
All Implemented Interfaces:
net.shibboleth.shared.component.Component, net.shibboleth.shared.component.DestructableComponent, net.shibboleth.shared.component.InitializableComponent, net.shibboleth.shared.component.UnmodifiableComponent, org.opensaml.messaging.decoder.MessageDecoder

public class Pac4jHTTPRedirectDeflateDecoder extends AbstractPac4jDecoder
Decoder for messages sent via HTTP-Redirect binding.
Since:
3.4.0
Author:
Jerome Leleu
  • Constructor Details

    • Pac4jHTTPRedirectDeflateDecoder

      public Pac4jHTTPRedirectDeflateDecoder(org.pac4j.core.context.WebContext context)
  • Method Details

    • doDecode

      protected void doDecode() throws org.opensaml.messaging.decoder.MessageDecodingException
      Specified by:
      doDecode in class org.opensaml.messaging.decoder.AbstractMessageDecoder
      Throws:
      org.opensaml.messaging.decoder.MessageDecodingException
    • inflate

      protected InputStream inflate(byte[] input) throws org.opensaml.messaging.decoder.MessageDecodingException
      Throws:
      org.opensaml.messaging.decoder.MessageDecodingException
    • internalInflate

      protected InputStream internalInflate(byte[] input, Inflater inflater) throws IOException
      Throws:
      IOException
    • getBindingURI

      public String getBindingURI(SAML2MessageContext messageContext)
      Description copied from class: AbstractPac4jDecoder
      Get the binding of the message context;.
      Specified by:
      getBindingURI in class AbstractPac4jDecoder
      Parameters:
      messageContext - the message context
      Returns:
      the binding URI