Class TestSecurityManager


  • public class TestSecurityManager
    extends SecurityManager
    A custom Security Manager, authorizing everything and adding a new Permission for writing to stdout/stderr it is automatically as the JVM's Security Manager once a test is run with GradingRunner.
    • Constructor Detail

      • TestSecurityManager

        public TestSecurityManager()
    • Method Detail

      • getThreadGroup

        public ThreadGroup getThreadGroup()
        Hackfix to forbid creating threads in the root group when you have no rights to create threads
        Overrides:
        getThreadGroup in class SecurityManager