Class EncodeOutboundResponseAction
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.nuxeo.ecm.platform.auth.saml.processor.action.EncodeOutboundResponseAction
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.component.Component
,net.shibboleth.utilities.java.support.component.DestructableComponent
,net.shibboleth.utilities.java.support.component.InitializableComponent
,org.opensaml.profile.action.ProfileAction
public class EncodeOutboundResponseAction
extends org.opensaml.profile.action.AbstractProfileAction
Action that encodes an outbound response from the outbound
MessageContext
.- Since:
- 2023.0
- See Also:
-
EventIds.INVALID_MSG_CTX
EventIds.UNABLE_TO_ENCODE
- Implementation Note:
- copied/inspired from
EncodeMessage
-
Field Summary
Modifier and TypeFieldDescriptionprotected SAMLOutboundBinding
The binding to use to obtain an encoder.protected org.opensaml.messaging.handler.MessageHandler
AMessageHandler
instance to be invoked afterMessageEncoder.prepareContext()
and prior toMessageEncoder.encode()
. -
Constructor Summary
ConstructorDescriptionEncodeOutboundResponseAction
(SAMLOutboundBinding encoderBinding, org.opensaml.messaging.handler.MessageHandler messageHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doExecute
(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) protected void
protected boolean
doPreExecute
(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) Methods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, setHttpServletRequest, setHttpServletRequestSupplier, setHttpServletResponse, setHttpServletResponseSupplier
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, 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.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
encoderBinding
The binding to use to obtain an encoder. -
messageHandler
protected org.opensaml.messaging.handler.MessageHandler messageHandlerAMessageHandler
instance to be invoked afterMessageEncoder.prepareContext()
and prior toMessageEncoder.encode()
.
-
-
Constructor Details
-
EncodeOutboundResponseAction
public EncodeOutboundResponseAction(SAMLOutboundBinding encoderBinding, org.opensaml.messaging.handler.MessageHandler messageHandler)
-
-
Method Details
-
doInitialize
protected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Overrides:
doInitialize
in classnet.shibboleth.utilities.java.support.component.AbstractInitializableComponent
- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
doPreExecute
protected boolean doPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) - Overrides:
doPreExecute
in classorg.opensaml.profile.action.AbstractProfileAction
-
doExecute
protected void doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) - Overrides:
doExecute
in classorg.opensaml.profile.action.AbstractProfileAction
-