Package com.microstrategy.utils
Class AdminUtil
- java.lang.Object
-
- com.microstrategy.utils.AdminUtil
-
public class AdminUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getEnabledAuthModes()
static boolean
isAdminRequest(javax.servlet.http.HttpServletRequest req)
static boolean
isAuthModeEnabled(int mode)
static boolean
isAuthModeEnabled(int enabledModes, int mode)
static boolean
isSpringAuthMode()
static boolean
shallUseBasicAuth(javax.servlet.http.HttpServletRequest req)
static boolean
shallUseSpringAuth(javax.servlet.http.HttpServletRequest req)
static boolean
useBasicAuthForAdmin()
-
-
-
Method Detail
-
getEnabledAuthModes
public static int getEnabledAuthModes()
-
isAuthModeEnabled
public static boolean isAuthModeEnabled(int enabledModes, int mode)
-
isAuthModeEnabled
public static boolean isAuthModeEnabled(int mode)
-
isSpringAuthMode
public static boolean isSpringAuthMode()
-
useBasicAuthForAdmin
public static boolean useBasicAuthForAdmin()
-
isAdminRequest
public static boolean isAdminRequest(javax.servlet.http.HttpServletRequest req)
-
shallUseBasicAuth
public static boolean shallUseBasicAuth(javax.servlet.http.HttpServletRequest req)
-
shallUseSpringAuth
public static boolean shallUseSpringAuth(javax.servlet.http.HttpServletRequest req)
-
-