Class AxelorCallbackLogic

  • All Implemented Interfaces:
    org.pac4j.core.engine.CallbackLogic

    @Singleton
    public class AxelorCallbackLogic
    extends org.pac4j.core.engine.DefaultCallbackLogic
    • Field Summary

      • Fields inherited from class org.pac4j.core.engine.DefaultCallbackLogic

        INSTANCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Object handleException​(Exception e, org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter, org.pac4j.core.context.WebContext context)  
      Object perform​(org.pac4j.core.context.WebContext webContext, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.config.Config config, org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter, String inputDefaultUrl, Boolean inputRenewSession, String defaultClient)  
      protected org.pac4j.core.exception.http.HttpAction redirectToOriginallyRequestedUrl​(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, String defaultUrl)  
      • Methods inherited from class org.pac4j.core.engine.DefaultCallbackLogic

        getClientFinder, getSavedRequestHandler, renewSession, saveUserProfile, setClientFinder, setSavedRequestHandler, toString
      • Methods inherited from class org.pac4j.core.engine.AbstractExceptionAwareLogic

        getErrorUrl, runtimeException, setErrorUrl
      • Methods inherited from class org.pac4j.core.profile.factory.ProfileManagerFactoryAware

        getProfileManager, getProfileManagerFactory, setProfileManagerFactory
    • Constructor Detail

      • AxelorCallbackLogic

        @Inject
        public AxelorCallbackLogic​(ErrorHandler errorHandler,
                                   AxelorCsrfMatcher csrfMatcher,
                                   org.pac4j.core.client.finder.DefaultCallbackClientFinder clientFinder,
                                   AuthPac4jInfo pac4jInfo)
    • Method Detail

      • perform

        public Object perform​(org.pac4j.core.context.WebContext webContext,
                              org.pac4j.core.context.session.SessionStore sessionStore,
                              org.pac4j.core.config.Config config,
                              org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter,
                              String inputDefaultUrl,
                              Boolean inputRenewSession,
                              String defaultClient)
        Specified by:
        perform in interface org.pac4j.core.engine.CallbackLogic
        Overrides:
        perform in class org.pac4j.core.engine.DefaultCallbackLogic
      • redirectToOriginallyRequestedUrl

        protected org.pac4j.core.exception.http.HttpAction redirectToOriginallyRequestedUrl​(org.pac4j.core.context.WebContext context,
                                                                                            org.pac4j.core.context.session.SessionStore sessionStore,
                                                                                            String defaultUrl)
        Overrides:
        redirectToOriginallyRequestedUrl in class org.pac4j.core.engine.DefaultCallbackLogic
      • handleException

        protected Object handleException​(Exception e,
                                         org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter,
                                         org.pac4j.core.context.WebContext context)
        Overrides:
        handleException in class org.pac4j.core.engine.AbstractExceptionAwareLogic