Package com.axelor.auth.pac4j
Class AxelorCallbackLogic
- java.lang.Object
-
- org.pac4j.core.profile.factory.ProfileManagerFactoryAware
-
- org.pac4j.core.engine.AbstractExceptionAwareLogic
-
- org.pac4j.core.engine.DefaultCallbackLogic
-
- com.axelor.auth.pac4j.AxelorCallbackLogic
-
- All Implemented Interfaces:
org.pac4j.core.engine.CallbackLogic
@Singleton public class AxelorCallbackLogic extends org.pac4j.core.engine.DefaultCallbackLogic
-
-
Constructor Summary
Constructors Constructor Description AxelorCallbackLogic(ErrorHandler errorHandler, AxelorCsrfMatcher csrfMatcher, org.pac4j.core.client.finder.DefaultCallbackClientFinder clientFinder)
-
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
-
-
-
-
Constructor Detail
-
AxelorCallbackLogic
@Inject public AxelorCallbackLogic(ErrorHandler errorHandler, AxelorCsrfMatcher csrfMatcher, org.pac4j.core.client.finder.DefaultCallbackClientFinder clientFinder)
-
-
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 interfaceorg.pac4j.core.engine.CallbackLogic
- Overrides:
perform
in classorg.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 classorg.pac4j.core.engine.DefaultCallbackLogic
-
-