Class RevokeConsent

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class RevokeConsent extends AbstractConsentIndexedStorageAction
Consent action which deletes a consent record from storage.
Event:
EventIds.PROCEED_EVENT_ID, EventIds.IO_ERROR
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • maskStorageErrors

      private boolean maskStorageErrors
      Trap errors in the storage layer.
  • Constructor Details

    • RevokeConsent

      public RevokeConsent()
  • Method Details

    • setMaskStorageErrors

      public void setMaskStorageErrors(boolean flag)
      Set whether to trap and hide storage-related errors.
      Parameters:
      flag - flag to set
    • doExecute

      protected void doExecute(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull ProfileInterceptorContext interceptorContext)
      Performs this profile interceptor action. Default implementation does nothing.
      Overrides:
      doExecute in class AbstractProfileInterceptorAction
      Parameters:
      profileRequestContext - the current profile request context
      interceptorContext - the current profile interceptor context