Class AxelorSecurityLogic

java.lang.Object
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
  • Field Summary

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

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    AxelorSecurityLogic(ErrorHandler errorHandler, ClientListService clientListService, AuthPac4jInfo authPac4jInfo)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.pac4j.core.client.Client
    findClient(org.pac4j.core.context.WebContext context, List<org.pac4j.core.client.Client> clients)
     
    protected String
    getDefaultClient(org.pac4j.core.context.WebContext context)
     
    protected Object
    handleException(Exception e, org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter, org.pac4j.core.context.WebContext context)
     
    protected org.pac4j.core.exception.http.HttpAction
    redirectToIdentityProvider(org.pac4j.core.context.CallContext ctx, List<org.pac4j.core.client.Client> currentClients)
     
    protected void
    saveRequestedUrl(org.pac4j.core.context.CallContext ctx, List<org.pac4j.core.client.Client> currentClients, org.pac4j.core.http.ajax.AjaxRequestResolver ajaxRequestResolver)
     

    Methods inherited from class org.pac4j.core.engine.DefaultSecurityLogic

    addProfileIndirectClients, forbidden, getAuthorizationChecker, getClientFinder, getMatchingChecker, getSavedRequestHandler, isLoadProfilesFromSession, loadProfiles, perform, setAuthorizationChecker, setClientFinder, setLoadProfilesFromSession, setMatchingChecker, setSavedRequestHandler, startAuthentication, toString, unauthorized

    Methods inherited from class org.pac4j.core.engine.AbstractExceptionAwareLogic

    buildContext, getErrorUrl, runtimeException, setErrorUrl

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • redirectToIdentityProvider

      protected org.pac4j.core.exception.http.HttpAction redirectToIdentityProvider(org.pac4j.core.context.CallContext ctx, List<org.pac4j.core.client.Client> currentClients)
      Overrides:
      redirectToIdentityProvider in class org.pac4j.core.engine.DefaultSecurityLogic
    • saveRequestedUrl

      protected void saveRequestedUrl(org.pac4j.core.context.CallContext ctx, List<org.pac4j.core.client.Client> currentClients, org.pac4j.core.http.ajax.AjaxRequestResolver ajaxRequestResolver)
      Overrides:
      saveRequestedUrl 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
    • 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)