Class SystemSecurityManager
java.lang.Object
org.hibernate.internal.util.securitymanager.SystemSecurityManager
Encapsulates access to
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.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FULLY_DISABLE_PROP_NAME
- See Also:
-
-
Constructor Details
-
SystemSecurityManager
public SystemSecurityManager()
-
-
Method Details
-
isSecurityManagerEnabled
public static boolean isSecurityManagerEnabled()
-