Class AuthPac4jInfo


  • @Singleton
    public class AuthPac4jInfo
    extends Object
    • Constructor Detail

      • AuthPac4jInfo

        public AuthPac4jInfo()
    • Method Detail

      • getBaseUrl

        public String getBaseUrl()
      • getCentralClients

        public Set<String> getCentralClients()
      • getCallbackUrl

        public String getCallbackUrl()
        Return the main callback endpoint for users authentication
        Returns:
        url form where the users are authenticated
      • getLogoutUrl

        public String getLogoutUrl()
        Return the default post logout url.
        Returns:
        url where the users will be redirected after logout
      • setAuthenticator

        public void setAuthenticator​(org.pac4j.core.credentials.authenticator.Authenticator authenticator)
      • getAuthenticator

        public org.pac4j.core.credentials.authenticator.Authenticator getAuthenticator()
      • isXHR

        public static boolean isXHR​(org.pac4j.core.context.WebContext context)
      • isXHR

        public static boolean isXHR​(javax.servlet.http.HttpServletRequest request)
      • isNativeClient

        public static boolean isNativeClient​(org.pac4j.core.context.WebContext context)