Package com.axelor.auth.pac4j
Class AxelorSecurityLogic
- java.lang.Object
-
- org.pac4j.core.profile.factory.ProfileManagerFactoryAware
-
- org.pac4j.core.engine.AbstractExceptionAwareLogic
-
- org.pac4j.core.engine.DefaultSecurityLogic
-
- com.axelor.auth.pac4j.AxelorSecurityLogic
-
- All Implemented Interfaces:
org.pac4j.core.engine.SecurityLogic
@Singleton public class AxelorSecurityLogic extends org.pac4j.core.engine.DefaultSecurityLogic
-
-
Constructor Summary
Constructors Constructor Description AxelorSecurityLogic(ErrorHandler errorHandler, org.pac4j.core.config.Config config, ClientListService clientListService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.pac4j.core.client.ClientfindClient(org.pac4j.core.context.WebContext context, List<org.pac4j.core.client.Client> clients)protected StringgetDefaultClient(org.pac4j.core.context.WebContext context)protected ObjecthandleException(Exception e, org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter, org.pac4j.core.context.WebContext context)protected org.pac4j.core.exception.http.HttpActionredirectToIdentityProvider(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.client.Client> currentClients)-
Methods inherited from class org.pac4j.core.engine.DefaultSecurityLogic
forbidden, getAuthorizationChecker, getClientFinder, getMatchingChecker, getSavedRequestHandler, isLoadProfilesFromSession, loadProfiles, perform, saveRequestedUrl, setAuthorizationChecker, setClientFinder, setLoadProfilesFromSession, setMatchingChecker, setSavedRequestHandler, startAuthentication, toString, unauthorized
-
Methods inherited from class org.pac4j.core.engine.AbstractExceptionAwareLogic
getErrorUrl, runtimeException, setErrorUrl
-
-
-
-
Constructor Detail
-
AxelorSecurityLogic
@Inject public AxelorSecurityLogic(ErrorHandler errorHandler, org.pac4j.core.config.Config config, ClientListService clientListService)
-
-
Method Detail
-
redirectToIdentityProvider
protected org.pac4j.core.exception.http.HttpAction redirectToIdentityProvider(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.client.Client> currentClients)- Overrides:
redirectToIdentityProviderin classorg.pac4j.core.engine.DefaultSecurityLogic
-
handleException
protected Object handleException(Exception e, org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter, org.pac4j.core.context.WebContext context)
- Overrides:
handleExceptionin classorg.pac4j.core.engine.AbstractExceptionAwareLogic
-
getDefaultClient
protected String getDefaultClient(org.pac4j.core.context.WebContext context)
-
findClient
protected org.pac4j.core.client.Client findClient(org.pac4j.core.context.WebContext context, List<org.pac4j.core.client.Client> clients)
-
-