Class AbstractConsentStorageAction

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action
Direct Known Subclasses:
AbstractConsentIndexedStorageAction, ReadConsentFromStorage, UpdateCounter

public abstract class AbstractConsentStorageAction
extends AbstractConsentAction
Base class for consent actions which interact with a StorageService. This action ensures that the storage service, serializer, storageContext, and storageKey are available. The storage service is provided by the profile interceptor flow descriptor. The storage serializer defaults to a ConsentSerializer. The storage context defaults to the flow ID provided by a FlowIdLookupFunction.
InterceptorContext.getAttemptedFlow() != null
FlowDescriptor.getStorageService() != null
StorageSerializer != null
StorageContextLookupStrategy != null
StorageKeyLookupStrategy != null
storageContextLookupStrategy.apply(profileRequestContext) != null
storageKeyLookupStrategy.apply(profileRequestContext) != null