Skip to content

Commit

Permalink
Add a security policy file
Browse files Browse the repository at this point in the history
  • Loading branch information
k-tamura committed Jun 8, 2017
1 parent d098fcc commit 9d7c6c3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions catalina.policy
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
grant {
permission java.io.FilePermission "<<ALL FILES>>", "write, read, execute, delete";
permission java.io.SerializablePermission "*" ;
permission java.lang.management.ManagementPermission "monitor";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.comet";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.websocket";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.websocket";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.websocket.server";
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "exitVM";
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "setContextClassLoader";
permission java.lang.RuntimePermission "setFactory";
permission java.lang.RuntimePermission "shutdownHooks";
permission java.net.NetPermission "*";
permission java.net.PropertyPermission "*", "read, write";
permission java.net.SocketPermission "*", "accept, listen, connect, resolve";
permission java.security.SecurityPermission "*";
permission java.util.PropertyPermission "*", "read, write";
permission javax.management.MBeanPermission "*", "*";
permission javax.management.MBeanServerPermission "createMBeanServer";
permission javax.management.MBeanServerPermission "findMBeanServer";
permission javax.management.MBeanTrustPermission "register";
permission javax.security.auth.AuthPermission "*";
permission ognl.OgnlInvokePermission "*";
};

0 comments on commit 9d7c6c3

Please sign in to comment.