Class SecurityManagerProvider


  • public class SecurityManagerProvider
    extends java.lang.Object
    Provides a SecurityManager for the application, configured based on the specified security mode. The security manager can operate in two modes:
    • LOGGING: Logs all permission checks without enforcing them.
    • POLICY_FILE: Enforces permissions as defined in the security policy file.

    To enable permission checks, the security management capability must be enabled. Refer to Implement Security Policy for more details.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.SecurityManager get​(java.lang.String securityManagerMode)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        public static java.lang.SecurityManager get​(java.lang.String securityManagerMode)
        Parameters:
        securityManagerMode - security Manager Mode
        Returns:
        an instance of SecurityManager configured according to the application properties.