Package org.pac4j.saml.sso.artifact
Class SAML2ArtifactBindingDecoder
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.pac4j.saml.transport.AbstractPac4jDecoder
org.pac4j.saml.sso.artifact.SAML2ArtifactBindingDecoder
- 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
Decodes a SAML artifact binding request by fetching the actual artifact via
SOAP.
- Since:
- 3.8.0
- Author:
- bidou
-
Field Summary
Fields inherited from class org.pac4j.saml.transport.AbstractPac4jDecoder
callContext, parserPool
Fields inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
BASE_PROTOCOL_MESSAGE_LOGGER_CATEGORY
-
Constructor Summary
ConstructorDescriptionSAML2ArtifactBindingDecoder
(org.pac4j.core.context.CallContext context, SAML2MetadataResolver idpMetadataResolver, SAML2MetadataResolver spMetadataResolver, SOAPPipelineProvider soapPipelineProvider) Constructor for SAML2ArtifactBindingDecoder. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doDecode()
getBindingURI
(SAML2MessageContext messageContext) Get the binding of the message context;.protected void
transferContext
(org.opensaml.messaging.context.InOutOperationContext operationContext, SAML2MessageContext messageContext) transferContext.Methods inherited from class org.pac4j.saml.transport.AbstractPac4jDecoder
doDestroy, doInitialize, getBase64DecodedMessage, populateBindingContext, setParserPool, unmarshallMessage
Methods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
decode, 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
-
Constructor Details
-
SAML2ArtifactBindingDecoder
public SAML2ArtifactBindingDecoder(org.pac4j.core.context.CallContext context, SAML2MetadataResolver idpMetadataResolver, SAML2MetadataResolver spMetadataResolver, SOAPPipelineProvider soapPipelineProvider) Constructor for SAML2ArtifactBindingDecoder.
- Parameters:
context
- aCallContext
objectidpMetadataResolver
- aSAML2MetadataResolver
objectspMetadataResolver
- aSAML2MetadataResolver
objectsoapPipelineProvider
- aSOAPPipelineProvider
object
-
-
Method Details
-
getBindingURI
Get the binding of the message context;.- Specified by:
getBindingURI
in classAbstractPac4jDecoder
- Parameters:
messageContext
- the message context- Returns:
- the binding URI
-
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
-
transferContext
protected void transferContext(org.opensaml.messaging.context.InOutOperationContext operationContext, SAML2MessageContext messageContext) transferContext.
- Parameters:
operationContext
- aInOutOperationContext
objectmessageContext
- aSAML2MessageContext
object
-