tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r954435 - /tomcat/trunk/conf/catalina.policy
Date Mon, 14 Jun 2010 12:53:21 GMT
Author: markt
Date: Mon Jun 14 12:53:20 2010
New Revision: 954435

URL: http://svn.apache.org/viewvc?rev=954435&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49213
Add permissions required by Manager application

Modified:
    tomcat/trunk/conf/catalina.policy

Modified: tomcat/trunk/conf/catalina.policy
URL: http://svn.apache.org/viewvc/tomcat/trunk/conf/catalina.policy?rev=954435&r1=954434&r2=954435&view=diff
==============================================================================
--- tomcat/trunk/conf/catalina.policy (original)
+++ tomcat/trunk/conf/catalina.policy Mon Jun 14 12:53:20 2010
@@ -186,6 +186,14 @@ grant { 
 };
 
 
+// The Manager application needs access to the following packages to support the
+// session display functionality
+grant codeBase "file:${catalina.home}/webapps/manager/-" {
+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";
+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";
+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";
+};
+
 // You can assign additional permissions to particular web applications by
 // adding additional "grant" entries here, based on the code base for that
 // application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.



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


Mime
View raw message