You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2001/10/06 20:45:52 UTC
cvs commit: jakarta-tomcat-4.0/catalina/src/conf catalina.policy
remm 01/10/06 11:45:51
Modified: catalina/src/conf catalina.policy
Log:
- Forgot to change the policy file after reorganizing the shared loader and
moving Jasper (since shared didn't have any permission, Jasper was broken).
Thanks to Patrick Luby (Patrick.Luby at sun.com) for the patch.
Revision Changes Path
1.15 +3 -15 jakarta-tomcat-4.0/catalina/src/conf/catalina.policy
Index: catalina.policy
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/catalina.policy,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- catalina.policy 2001/06/29 21:53:43 1.14
+++ catalina.policy 2001/10/06 18:45:51 1.15
@@ -8,7 +8,7 @@
//
// * Read access to the document root directory
//
-// $Id: catalina.policy,v 1.14 2001/06/29 21:53:43 remm Exp $
+// $Id: catalina.policy,v 1.15 2001/10/06 18:45:51 remm Exp $
// ============================================================================
@@ -58,21 +58,9 @@
permission java.security.AllPermission;
};
-// These permissions apply to the jasper page compiler
-// located in the "jasper" directory.
-grant codeBase "file:${catalina.home}/jasper/-" {
- permission java.security.AllPermission;
-};
-
// These permissions apply to shared web application libraries
-// including the Jasper runtime library installed in the "lib" directory
-grant codeBase "file:${catalina.home}/lib/-" {
- permission java.security.AllPermission;
-};
-
-// These permissions apply to shared web application classes
-// located in the "classes" directory
-grant codeBase "file:${catalina.home}/classes/-" {
+// including the Jasper page compiler installed in the "shared/lib" directory
+grant codeBase "file:${catalina.home}/shared/-" {
permission java.security.AllPermission;
};