Package org.keycloak.common.util
Class Environment
java.lang.Object
org.keycloak.common.util.Environment
- Author:
- Marek Posolda
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static int
static boolean
static boolean
Tries to detect if Java platform is in the FIPS mode
-
Field Details
-
IS_IBM_JAVA
public static final boolean IS_IBM_JAVA -
DEFAULT_JBOSS_AS_STARTUP_TIMEOUT
public static final int DEFAULT_JBOSS_AS_STARTUP_TIMEOUT- See Also:
-
PROFILE
- See Also:
-
ENV_PROFILE
- See Also:
-
DEV_PROFILE_VALUE
- See Also:
-
-
Constructor Details
-
Environment
public Environment()
-
-
Method Details
-
getServerStartupTimeout
public static int getServerStartupTimeout() -
isJavaInFipsMode
public static boolean isJavaInFipsMode()Tries to detect if Java platform is in the FIPS mode- Returns:
- true if java is FIPS mode
-
isDevMode
public static boolean isDevMode() -
getProfile
-