Class EncodeOutboundResponseAction
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.nuxeo.ecm.platform.auth.saml.processor.action.EncodeOutboundResponseAction
- All Implemented Interfaces:
net.shibboleth.shared.component.Component,net.shibboleth.shared.component.DestructableComponent,net.shibboleth.shared.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:
- Implementation Note:
- copied/inspired from
EncodeMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SAMLOutboundBindingThe binding to use to obtain an encoder.protected org.opensaml.messaging.handler.MessageHandlerAMessageHandlerinstance to be invoked afterMessageEncoder.prepareContext()and prior toMessageEncoder.encode(). -
Constructor Summary
ConstructorsConstructorDescriptionEncodeOutboundResponseAction(SAMLOutboundBinding encoderBinding, org.opensaml.messaging.handler.MessageHandler messageHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) protected voidprotected booleandoPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) Methods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
encoderBinding
The binding to use to obtain an encoder. -
messageHandler
protected org.opensaml.messaging.handler.MessageHandler messageHandlerAMessageHandlerinstance 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.shared.component.ComponentInitializationException- Overrides:
doInitializein classnet.shibboleth.shared.component.AbstractInitializableComponent- Throws:
net.shibboleth.shared.component.ComponentInitializationException
-
doPreExecute
protected boolean doPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) - Overrides:
doPreExecutein classorg.opensaml.profile.action.AbstractProfileAction
-
doExecute
protected void doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) - Overrides:
doExecutein classorg.opensaml.profile.action.AbstractProfileAction
-