Class AbstractConsentAction

    • Constructor Detail

      • AbstractConsentAction

        public AbstractConsentAction()
        Constructor.
    • Method Detail

      • getConsentContext

        @Nullable
        public ConsentContext getConsentContext()
        Get the consent context.
        Returns:
        the consent context
      • getConsentFlowDescriptor

        @Nullable
        public ConsentFlowDescriptor getConsentFlowDescriptor()
        Get the consent flow descriptor.
        Returns:
        the consent flow descriptor
      • setConsentContextLookupStrategy

        public void setConsentContextLookupStrategy​(@Nonnull
                                                    Function<ProfileRequestContext,​ConsentContext> strategy)
        Set the consent context lookup strategy.
        Parameters:
        strategy - the consent context lookup strategy
      • doPreExecute

        protected boolean doPreExecute​(@Nonnull
                                       ProfileRequestContext profileRequestContext,
                                       @Nonnull
                                       ProfileInterceptorContext interceptorContext)
        Performs this profile interceptor action's pre-execute step. Default implementation returns true.
        Overrides:
        doPreExecute in class AbstractProfileInterceptorAction
        Parameters:
        profileRequestContext - the current profile request context
        interceptorContext - the current profile interceptor context
        Returns:
        true iff execution should continue