Class SystemSecurityManager
- java.lang.Object
-
- org.hibernate.internal.util.securitymanager.SystemSecurityManager
-
public final class SystemSecurityManager extends Object
Encapsulates access toSystem.getSecurityManager(), in preparation of it being phased out by the JDK. Since JDK 17 the security manager can be disabled by setting the system propertyjava.security.managertodisallow; to prepare for this we also offer the option of settingorg.hibernate.internal.util.securitymanager.FULLY_DISABLEtotrueto have the same effect, although limited to the Hibernate ORM code.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFULLY_DISABLE_PROP_NAME
-
Constructor Summary
Constructors Constructor Description SystemSecurityManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSecurityManagerEnabled()
-
-
-
Field Detail
-
FULLY_DISABLE_PROP_NAME
public static final String FULLY_DISABLE_PROP_NAME
- See Also:
- Constant Field Values
-
-