System#getSecurityManager(),
in preparation of it being phased out by the JDK.
Since JDK 17 the security manager can be disabled by setting
the system property java.security.manager to disallow;
to prepare for this we also offer the option of setting
org.hibernate.internal.util.securitymanager.FULLY_DISABLE to true
to have the same effect, although limited to the Hibernate ORM code.
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| public static final String | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean |
| disabledForced | back to summary |
|---|---|
| private static final boolean disabledForced | |
| FULLY_DISABLE_PROP_NAME | back to summary |
|---|---|
| public static final String FULLY_DISABLE_PROP_NAME | |
| SM_IS_ENABLED | back to summary |
|---|---|
| private static final boolean SM_IS_ENABLED | |
| SystemSecurityManager | back to summary |
|---|---|
| public SystemSecurityManager() | |
| isSecurityManagerEnabled | back to summary |
|---|---|
| public static boolean isSecurityManagerEnabled() | |