Class BaseUrlLocator

java.lang.Object
com.atlassian.crowd.web.BaseUrlLocator

public final class BaseUrlLocator extends Object
Utility class that returns the base URL of the running Crowd/Horde server.
  • Constructor Details

    • BaseUrlLocator

      public BaseUrlLocator()
  • Method Details

    • getBaseUrlFrom

      public static String getBaseUrlFrom(jakarta.servlet.http.HttpServletRequest request)
      Parameters:
      request - the HTTP request to get the base URL from
      Returns:
      the base URL where the product is installed