glenn 01/06/29 11:01:14
Modified: catalina/src/conf catalina.policy
Log:
Update policy for WebappClassLoader changes
Revision Changes Path
1.13 +4 -16 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.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- catalina.policy 2001/06/22 20:36:29 1.12
+++ catalina.policy 2001/06/29 18:01:09 1.13
@@ -8,7 +8,7 @@
//
// * Read access to the document root directory
//
-// $Id: catalina.policy,v 1.12 2001/06/22 20:36:29 glenn Exp $
+// $Id: catalina.policy,v 1.13 2001/06/29 18:01:09 glenn Exp $
// ============================================================================
@@ -138,30 +138,18 @@
// grant codeBase "file:${catalina.home}/webapps/examples/-" {
// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
// permission java.net.SocketPermission "*.noaa.gov:80", "connect";
-//
// };
//
// The permissions granted to the context WEB-INF/classes directory
-//
-// Permissions granted to a web applications /WEB-INF/classes
-// need to use the JNDI naming convention Tomcat 4 uses to identify
-// these resources. The naming convention is
-// "jndi:/<virtual host name>/<web application directory>/WEB-INF/classes/
-//
-// grant codeBase "jndi:/localhost/examples/WEB-INF/classes/-" {
+// grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/classes/-" {
// };
//
-// Permissions granted to a web applications /WEB-INF/lib
-// need to use the JNDI naming convention Tomcat 4 uses to identify
-// these resources. The naming convention is
-// "jar:jndi:/<virtual host name>/<web application directory>/WEB-INF/lib/
-//
// The permission granted to your JDBC driver
-// grant codeBase "jar:jndi:/localhost/examples/WEB-INF/lib/driver.jar" {
+// grant codeBase
"file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar!/-" {
// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
// };
// The permission granted to the scrape taglib
-// grant codeBase "jar:jndi:localhost/webapps/examples/WEB-INF/lib/scrape.jar" {
+// grant codeBase
"file:${catalina.home}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {
// permission java.net.SocketPermission "*.noaa.gov:80", "connect";
// };