Class ExtractConsent

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

public class ExtractConsent
extends AbstractConsentAction
Consent action which extracts user input and updates current consent objects in the consent context accordingly. For every consent id passed via the CONSENT_IDS_REQUEST_PARAMETER request parameter, this action sets Consent.isApproved() to true for the current consent object whose id matches the request parameter value. For every current consent object whose id is not passed as a request parameter, this action sets Consent.isApproved() to false.
Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX
Postcondition:
See above.
  • Field Details

    • log

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

    • ExtractConsent

      public ExtractConsent()
  • Method Details