Add permission to read the STRICT_SERVLET_COMPLIANCE property
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 11 Apr 2010 01:08:09 +0000 (01:08 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 11 Apr 2010 01:08:09 +0000 (01:08 +0000)
to our default policy for the security manager.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932822 13f79535-47bb-0310-9956-ffa450edef68

conf/catalina.policy

index 175dd5e..625d4e5 100644 (file)
@@ -161,6 +161,9 @@ grant {
     permission java.util.PropertyPermission
      "org.apache.el.parser.COERCE_TO_ZERO", "read";
 
+    // E.g. the cookie code needs that.
+    permission java.util.PropertyPermission "org.apache.catalina.STRICT_SERVLET_COMPLIANCE", "read";
+
     // Applications using Comet need to be able to access this package
     permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.comet";
 };