Package com.pingidentity.access
Class BaseUrlAccessor
- java.lang.Object
-
- com.pingidentity.access.BaseUrlAccessor
-
public class BaseUrlAccessor extends Object
This class provides access to the PF base URL.- Since:
- 9.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetCurrentBaseUrl()Returns the PF base URL with domain name from the HttpServletRequest that is whitelisted from the virtual host names.
-
-
-
Method Detail
-
getCurrentBaseUrl
public static String getCurrentBaseUrl()
Returns the PF base URL with domain name from the HttpServletRequest that is whitelisted from the virtual host names. If the requested domain name is not in the list of virtual host names, the PF base URL is returned.- Returns:
- the base URL with the whitelisted virtual host name.
-
-