Package org.opensaml.profile.action.impl
Class DecodeMessage
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.impl.DecodeMessage
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction
Action that decodes an incoming request into a
MessageContext.- Event:
EventIds.PROCEED_EVENT_ID,EventIds.UNABLE_TO_DECODE- Postcondition:
- If decode succeeds, ProfileRequestContext.getInboundMessageContext() != null, The injected
MessageDecoderis destroyed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageDecoderTheMessageDecoderinstance used to decode the incoming message.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) Performs this action.Methods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, doPreExecute, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, setHttpServletRequest, setHttpServletRequestSupplier, setHttpServletResponse, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, 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.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
decoder
TheMessageDecoderinstance used to decode the incoming message.
-
-
Constructor Details
-
DecodeMessage
Constructor.- Parameters:
messageDecoder- theMessageDecoderused for the incoming request
-
-
Method Details
-
doExecute
Performs this action. Actions must override this method to perform their work.- Overrides:
doExecutein classAbstractProfileAction- Parameters:
profileRequestContext- the current IdP profile request context
-