Class AxelorSecurityLogic

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

    @Singleton
    public class AxelorSecurityLogic
    extends org.pac4j.core.engine.DefaultSecurityLogic
    • Field Summary

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

        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 context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.config.Config config, org.pac4j.core.engine.SecurityGrantedAccessAdapter securityGrantedAccessAdapter, org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter, String clients, String authorizers, String matchers, Object... parameters)  
      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)  
      protected void saveRequestedUrl​(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.client.Client> currentClients, org.pac4j.core.http.ajax.AjaxRequestResolver ajaxRequestResolver)  
      • Methods inherited from class org.pac4j.core.engine.DefaultSecurityLogic

        forbidden, getAuthorizationChecker, getClientFinder, getMatchingChecker, getSavedRequestHandler, isLoadProfilesFromSession, loadProfiles, setAuthorizationChecker, setClientFinder, setLoadProfilesFromSession, setMatchingChecker, setSavedRequestHandler, startAuthentication, toString, unauthorized
      • 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

      • AxelorSecurityLogic

        @Inject
        public AxelorSecurityLogic​(ErrorHandler errorHandler,
                                   AuthPac4jInfo authPac4jInfo,
                                   org.pac4j.core.config.Config config)
    • Method Detail

      • perform

        public Object perform​(org.pac4j.core.context.WebContext context,
                              org.pac4j.core.context.session.SessionStore sessionStore,
                              org.pac4j.core.config.Config config,
                              org.pac4j.core.engine.SecurityGrantedAccessAdapter securityGrantedAccessAdapter,
                              org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter,
                              String clients,
                              String authorizers,
                              String matchers,
                              Object... parameters)
        Specified by:
        perform in interface org.pac4j.core.engine.SecurityLogic
        Overrides:
        perform in class org.pac4j.core.engine.DefaultSecurityLogic
      • saveRequestedUrl

        protected void saveRequestedUrl​(org.pac4j.core.context.WebContext context,
                                        org.pac4j.core.context.session.SessionStore sessionStore,
                                        List<org.pac4j.core.client.Client> currentClients,
                                        org.pac4j.core.http.ajax.AjaxRequestResolver ajaxRequestResolver)
        Overrides:
        saveRequestedUrl in class org.pac4j.core.engine.DefaultSecurityLogic
      • 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:
        redirectToIdentityProvider in class org.pac4j.core.engine.DefaultSecurityLogic
      • 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