view jmh-core/src/main/resources/jmh-security-minimal.policy @ 1107:ceb8cfe4701d

7901280: Implement JMH security policy, add tests and samples on using SecurityManager in tests
author shade
date Wed, 28 Jan 2015 20:46:53 +0300
parents
children
line wrap: on
line source
grant {
    permission java.lang.RuntimePermission "accessDeclaredMembers";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
    permission java.lang.RuntimePermission "setSecurityManager";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    permission java.util.PropertyPermission "*", "read, write";
    permission java.lang.management.ManagementPermission "monitor";
    permission java.io.FilePermission "/-", "read,write,execute";
    permission java.net.SocketPermission "*", "connect,resolve,accept,listen";
};