tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/conf catalina.policy
Date Sat, 09 Feb 2002 18:31:25 GMT
remm        02/02/09 10:31:25

  Modified:    catalina/src/conf catalina.policy
  Log:
  - Update policy files after moving Jasper around.
  - Also ran into a surprise problem with OpenJMX while testing (which of course lead me to
believe
    it was somehow related to me moving Jasper). Grant an extra permission to have it work.
  
  Revision  Changes    Path
  1.21      +4 -22     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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- catalina.policy	17 Jan 2002 00:28:15 -0000	1.20
  +++ catalina.policy	9 Feb 2002 18:31:25 -0000	1.21
  @@ -8,7 +8,7 @@
   //
   // * Read access to the document root directory
   //
  -// $Id: catalina.policy,v 1.20 2002/01/17 00:28:15 patrickl Exp $
  +// $Id: catalina.policy,v 1.21 2002/02/09 18:31:25 remm Exp $
   // ============================================================================
   
   
  @@ -68,11 +68,6 @@
           permission java.security.AllPermission;                    
   };
   
  -// These permissions apply to the JNDI naming factory
  -grant codeBase "file:${catalina.home}/shared/lib/naming-factory.jar" {
  -        permission java.security.AllPermission;                    
  -};
  -
   // These permissions apply to the privileged admin and manager web applications
   grant codeBase "file:${catalina.home}/server/webapps/admin/WEB-INF/classes/-" {
           permission java.security.AllPermission;  
  @@ -82,22 +77,6 @@
           permission java.security.AllPermission;  
   };
   
  -grant codeBase "jar:file:${catalina.home}/server/webapps/admin/WEB-INF/lib/jasper-compiler.jar!/-"
{
  -        permission java.security.AllPermission;  
  -};
  -
  -grant codeBase "jar:file:${catalina.home}/server/webapps/admin/WEB-INF/lib/jasper-runtime.jar!/-"
{
  -        permission java.security.AllPermission;                                
  -};
  -
  -grant codeBase "jar:file:${catalina.home}/server/webapps/manager/WEB-INF/lib/jasper-compiler.jar!/-"
{
  -        permission java.security.AllPermission;                                
  -};                                                           
  -
  -grant codeBase "jar:file:${catalina.home}/server/webapps/manager/WEB-INF/lib/jasper-runtime.jar!/-"
{
  -        permission java.security.AllPermission;                                
  -};
  -
   // ========== WEB APPLICATION PERMISSIONS =====================================
   
   
  @@ -137,6 +116,9 @@
   
           // Required for getting BeanInfo
           permission java.lang.RuntimePermission "accessClassInPackage.sun.beans.*";
  +
  +        // Required for OpenJMX
  +        permission java.lang.RuntimePermission "getAttribute";
   
   	// Allow read of JAXP compliant XML parser debug
   	permission java.util.PropertyPermission "jaxp.debug", "read";
  
  
  

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


Mime
View raw message