Class SSOUtils

java.lang.Object
org.adempiere.base.sso.SSOUtils

public class SSOUtils extends Object
Utility methods for single sign on support.
Author:
Logilite Technologies
  • Field Details

  • Constructor Details

    • SSOUtils

      public SSOUtils()
  • Method Details

    • getSSOPrincipalService

      public static ISSOPrincipalService getSSOPrincipalService()
      Get single sign on service
      Returns:
      single sign on service
    • getRedirectedURL

      public static String getRedirectedURL(String redirectMode, I_SSO_PrincipalConfig config)
      The target redirect URL for identity provider after authentication
      Parameters:
      redirectMode -
      config -
      Returns:
    • getCreateErrorResponce

      public static String getCreateErrorResponce(String error)
      Create HTML page for error message
      Parameters:
      error -
      Returns:
      HTML error page
    • isResourceRequest

      public static boolean isResourceRequest(javax.servlet.http.HttpServletRequest request, boolean isWebUI)
      If request is a resource request, do not redirected to identity provider for authentication
      Parameters:
      request -
      isWebUI -
      Returns:
      true if request is a resource request