Class AbstractRevocationAction

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action
Direct Known Subclasses:
CheckRevocation, RevokeSession

public abstract class AbstractRevocationAction extends AbstractApplicationAction
Base class for actions involved with session revocation.
Event:
EventIds.INVALID_MESSAGE
Precondition:
AgentRequestContext.getIntput().isstruct()
  • Field Details

  • Constructor Details

    • AbstractRevocationAction

      public AbstractRevocationAction()
  • Method Details

    • getStorageService

      @Nullable protected StorageService getStorageService()
      Gets the storage service for revocation list.
      Returns:
      storage service, if installed
    • setStorageService

      public void setStorageService(@Nullable StorageService service)
      Set storage service for revocation list.
      Parameters:
      service - revocation storage
    • getSessionID

      @NonnullBeforeExec @NotEmpty protected String getSessionID()
      Gets the session ID from the input message.
      Returns:
      session ID
    • doPreExecute

      protected boolean doPreExecute(ProfileRequestContext profileRequestContext)
      Overrides:
      doPreExecute in class AbstractApplicationAction
    • getStorageContext

      @Nonnull protected String getStorageContext()
      Compute agent-specific storage context.
      Returns:
      storage context with agent qualifier