Class SystemSecurityManager


  • public final class SystemSecurityManager
    extends Object
    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.
    • Constructor Detail

      • SystemSecurityManager

        public SystemSecurityManager()
    • Method Detail

      • isSecurityManagerEnabled

        public static boolean isSecurityManagerEnabled()