Package org.pac4j.saml.transport
Class Pac4jHTTPRedirectDeflateDecoder
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- org.opensaml.messaging.decoder.AbstractMessageDecoder
-
- org.pac4j.saml.transport.AbstractPac4jDecoder
-
- org.pac4j.saml.transport.Pac4jHTTPRedirectDeflateDecoder
-
- 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
public class Pac4jHTTPRedirectDeflateDecoder extends AbstractPac4jDecoder
Decoder for messages sent via HTTP-Redirect binding.- Since:
- 3.4.0
- Author:
- Jerome Leleu
-
-
Field Summary
-
Fields inherited from class org.pac4j.saml.transport.AbstractPac4jDecoder
context, logger, parserPool
-
-
Constructor Summary
Constructors Constructor Description Pac4jHTTPRedirectDeflateDecoder(org.pac4j.core.context.WebContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoDecode()java.lang.StringgetBindingURI(SAML2MessageContext messageContext)Get the binding of the message context;.protected java.io.InputStreaminflate(byte[] input)protected java.io.InputStreaminternalInflate(byte[] input, java.util.zip.Inflater inflater)-
Methods inherited from class org.pac4j.saml.transport.AbstractPac4jDecoder
doDestroy, doInitialize, getBase64DecodedMessage, getParserPool, populateBindingContext, setParserPool, unmarshallMessage
-
Methods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
decode, 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
-
-
-
-
Method Detail
-
doDecode
protected void doDecode() throws org.opensaml.messaging.decoder.MessageDecodingException- Specified by:
doDecodein classorg.opensaml.messaging.decoder.AbstractMessageDecoder- Throws:
org.opensaml.messaging.decoder.MessageDecodingException
-
inflate
protected java.io.InputStream inflate(byte[] input) throws org.opensaml.messaging.decoder.MessageDecodingException- Throws:
org.opensaml.messaging.decoder.MessageDecodingException
-
internalInflate
protected java.io.InputStream internalInflate(byte[] input, java.util.zip.Inflater inflater) throws java.io.IOException- Throws:
java.io.IOException
-
getBindingURI
public java.lang.String getBindingURI(SAML2MessageContext messageContext)
Description copied from class:AbstractPac4jDecoderGet the binding of the message context;.- Specified by:
getBindingURIin classAbstractPac4jDecoder- Parameters:
messageContext- the message context- Returns:
- the binding URI
-
-