tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/conf catalina.policy
Date Sun, 08 Apr 2001 01:05:19 GMT
craigmcc    01/04/07 18:05:19

  Modified:    catalina/src/conf catalina.policy
  Log:
  On some JVMs, the "${java.home}" value actually points at "$JAVA_HOME/jre"
  instead of "$JAVA_HOME", so the permissions for tools.jar were not getting
  processed.  Add entries to the SYSTEM CODE PERMISSIONS section so that this
  works either way.
  
  Revision  Changes    Path
  1.7       +12 -1     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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- catalina.policy	2001/04/07 23:08:45	1.6
  +++ catalina.policy	2001/04/08 01:05:19	1.7
  @@ -8,7 +8,7 @@
   //
   // * Read access to the document root directory
   //
  -// $Id: catalina.policy,v 1.6 2001/04/07 23:08:45 craigmcc Exp $
  +// $Id: catalina.policy,v 1.7 2001/04/08 01:05:19 craigmcc Exp $
   // ============================================================================
   
   
  @@ -22,6 +22,17 @@
   
   // These permissions apply to all shared system extensions
   grant codeBase "file:${java.home}/jre/lib/ext/-" {
  +        permission java.security.AllPermission;
  +};
  +
  +// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre
  +grant codeBase "file:${java.home}/../lib/-" {
  +        permission java.security.AllPermission;
  +};
  +
  +// These permissions apply to all shared system extensions when
  +// ${java.home} points at $JAVA_HOME/jre
  +grant codeBase "file:${java.home}/lib/ext/-" {
           permission java.security.AllPermission;
   };
   
  
  
  

Mime
View raw message