From: rjung Date: Sun, 11 Apr 2010 01:08:09 +0000 (+0000) Subject: Add permission to read the STRICT_SERVLET_COMPLIANCE property X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a547d572877addce3d886c1367c7ef1f16d56a66;p=tomcat7.0 Add permission to read the STRICT_SERVLET_COMPLIANCE property 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 --- diff --git a/conf/catalina.policy b/conf/catalina.policy index 175dd5e38..625d4e575 100644 --- a/conf/catalina.policy +++ b/conf/catalina.policy @@ -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"; };