tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r951883 - /tomcat/tc6.0.x/trunk/conf/catalina.policy
Date Sun, 06 Jun 2010 16:10:55 GMT
Author: kkolinko
Date: Sun Jun  6 16:10:55 2010
New Revision: 951883

URL: http://svn.apache.org/viewvc?rev=951883&view=rev
Log:
Add a comment regarding placing tomcat-juli.jar in ${catalina.base}/bin

Modified:
    tomcat/tc6.0.x/trunk/conf/catalina.policy

Modified: tomcat/tc6.0.x/trunk/conf/catalina.policy
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/conf/catalina.policy?rev=951883&r1=951882&r2=951883&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/conf/catalina.policy (original)
+++ tomcat/tc6.0.x/trunk/conf/catalina.policy Sun Jun  6 16:10:55 2010
@@ -62,6 +62,9 @@ grant codeBase "file:${catalina.home}/bi
 };
 
 // These permissions apply to the logging API
+// Note: If tomcat-juli.jar is in ${catalina.base} and not in ${catalina.home},
+// update this section accordingly.
+//  grant codeBase "file:${catalina.base}/bin/tomcat-juli.jar" {..}
 grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
         permission java.util.PropertyPermission "java.util.logging.config.class", "read";
         permission java.util.PropertyPermission "java.util.logging.config.file", "read";
@@ -74,9 +77,11 @@ grant codeBase "file:${catalina.home}/bi
         permission java.io.FilePermission "${catalina.base}${file.separator}logs${file.separator}*",
"read, write";
         permission java.lang.RuntimePermission "getClassLoader";
         permission java.lang.RuntimePermission "setContextClassLoader";
-        // To enable per context logging configuration, permit read access to the appropriate
file.
-        // Be sure that the logging configuration is secure before enabling such access
-        // eg for the examples web application:
+
+        // Note: To enable per context logging configuration, permit read access to
+        // the appropriate file. Be sure that the logging configuration is
+        // secure before enabling such access.
+        // E.g. for the examples web application, all in one line:
         // permission java.io.FilePermission "${catalina.base}${file.separator}webapps${file.separator}examples${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties",
"read";
 };
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message