Class CarbonSecurityManager


  • public class CarbonSecurityManager
    extends SecurityManager
    This is the carbon security manager. We need to deny certain property accesses through security manager. Therefore we had to extend security manager.
    • Constructor Detail

      • CarbonSecurityManager

        public CarbonSecurityManager()
    • Method Detail

      • checkAccess

        public void checkAccess​(ThreadGroup g)
        Access check for a thread group. Untrusted code should not be able to do any operations to a thread group (including thread.start()).
        Overrides:
        checkAccess in class SecurityManager
        Parameters:
        g - The thread group.
      • checkAccess

        public void checkAccess​(Thread t)
        Access check for a thread. Untrusted code should not be able to do any operations to a thread (including thread.start()).
        Overrides:
        checkAccess in class SecurityManager
        Parameters:
        t - The thread.