Package org.pac4j.saml.transport
Class Pac4jHTTPArtifactDecoder
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.pac4j.saml.transport.Pac4jHTTPArtifactDecoder
- 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
,org.opensaml.saml.common.binding.decoding.SAMLMessageDecoder
public class Pac4jHTTPArtifactDecoder
extends org.opensaml.messaging.decoder.AbstractMessageDecoder
implements org.opensaml.saml.common.binding.decoding.SAMLMessageDecoder
Decoder for the artifact binding: it's like the original
HTTPArtifactDecoder
but using a web context instead of the JEE HTTP servlet request.- Since:
- 3.8.0
- Author:
- Jerome LELEU
-
Field Summary
Fields inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
BASE_PROTOCOL_MESSAGE_LOGGER_CATEGORY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode()
protected void
doDecode()
protected void
protected void
protected void
populateBindingContext
(org.opensaml.messaging.context.MessageContext messageContext) Populate the context which carries information specific to this binding.void
setParserPool
(net.shibboleth.shared.xml.ParserPool pool) Sets the parser pool used to deserialize incoming messages.Methods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
getMessageContext, getMessageToLog, getProtocolMessageLogger, getProtocolMessageLoggerSubCategory, logDecodedMessage, serializeMessageForLogging, setMessageContext, setProtocolMessageLoggerSubCategory
Methods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, 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.shared.component.DestructableComponent
destroy, isDestroyed
Methods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
Methods inherited from interface org.opensaml.messaging.decoder.MessageDecoder
getMessageContext
-
Constructor Details
-
Pac4jHTTPArtifactDecoder
public Pac4jHTTPArtifactDecoder()Constructor.
-
-
Method Details
-
decode
public void decode() throws org.opensaml.messaging.decoder.MessageDecodingException- Specified by:
decode
in interfaceorg.opensaml.messaging.decoder.MessageDecoder
- Overrides:
decode
in classorg.opensaml.messaging.decoder.AbstractMessageDecoder
- Throws:
org.opensaml.messaging.decoder.MessageDecodingException
-
doDestroy
protected void doDestroy()- Overrides:
doDestroy
in classnet.shibboleth.shared.component.AbstractInitializableComponent
-
doDecode
protected void doDecode() throws org.opensaml.messaging.decoder.MessageDecodingException- Specified by:
doDecode
in classorg.opensaml.messaging.decoder.AbstractMessageDecoder
- Throws:
org.opensaml.messaging.decoder.MessageDecodingException
-
doInitialize
protected void doInitialize() throws net.shibboleth.shared.component.ComponentInitializationException- Overrides:
doInitialize
in classnet.shibboleth.shared.component.AbstractInitializableComponent
- Throws:
net.shibboleth.shared.component.ComponentInitializationException
-
getBindingURI
- Specified by:
getBindingURI
in interfaceorg.opensaml.saml.common.binding.decoding.SAMLMessageDecoder
-
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
-