Class AbstractConsentAction

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean doPreExecute​(org.opensaml.profile.context.ProfileRequestContext profileRequestContext, net.shibboleth.idp.profile.context.ProfileInterceptorContext interceptorContext)
      net.shibboleth.idp.consent.context.ConsentContext getConsentContext()
      Get the consent context.
      ConsentFlowDescriptor getConsentFlowDescriptor()
      Get the consent flow descriptor.
      void setConsentContextLookupStrategy​(Function<org.opensaml.profile.context.ProfileRequestContext,​net.shibboleth.idp.consent.context.ConsentContext> strategy)
      Set the consent context lookup strategy.
      • Methods inherited from class net.shibboleth.idp.profile.interceptor.AbstractProfileInterceptorAction

        doExecute, doExecute, doPreExecute, setLookupStrategy
      • Methods inherited from class net.shibboleth.idp.profile.AbstractProfileAction

        doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategy
      • Methods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction

        getActivationCondition, setActivationCondition
      • Methods inherited from class org.opensaml.profile.action.AbstractProfileAction

        doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponse
      • Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent

        destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
      • Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent

        initialize, isInitialized
    • Field Detail

      • log

        @Nonnull
        private final Logger log
        Class logger.
      • consentContext

        @Nullable
        private net.shibboleth.idp.consent.context.ConsentContext consentContext
        Consent context.
      • consentFlowDescriptor

        @Nullable
        private ConsentFlowDescriptor consentFlowDescriptor
        Consent flow descriptor.
      • consentContextLookupStrategy

        @Nonnull
        private Function<org.opensaml.profile.context.ProfileRequestContext,​net.shibboleth.idp.consent.context.ConsentContext> consentContextLookupStrategy
        Strategy used to find the ConsentContext from the ProfileRequestContext.
    • Constructor Detail

      • AbstractConsentAction

        public AbstractConsentAction()
        Constructor.
    • Method Detail

      • getConsentContext

        @Nullable
        public net.shibboleth.idp.consent.context.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<org.opensaml.profile.context.ProfileRequestContext,​net.shibboleth.idp.consent.context.ConsentContext> strategy)
        Set the consent context lookup strategy.
        Parameters:
        strategy - the consent context lookup strategy
      • doPreExecute

        protected boolean doPreExecute​(@Nonnull
                                       org.opensaml.profile.context.ProfileRequestContext profileRequestContext,
                                       @Nonnull
                                       net.shibboleth.idp.profile.context.ProfileInterceptorContext interceptorContext)
        Overrides:
        doPreExecute in class net.shibboleth.idp.profile.interceptor.AbstractProfileInterceptorAction