db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r639721 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
Date Fri, 21 Mar 2008 17:28:23 GMT
Author: mikem
Date: Fri Mar 21 10:28:16 2008
New Revision: 639721

URL: http://svn.apache.org/viewvc?rev=639721&view=rev
Log:
DERBY-3558

Add permissions to "class" portion of the derby test policy file that were
added to the jar file section previously.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy?rev=639721&r1=639720&r2=639721&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
Fri Mar 21 10:28:16 2008
@@ -281,7 +281,11 @@
   permission javax.management.MBeanPermission "-#-[-]", "queryNames";
   permission javax.management.MBeanPermission "org.apache.derby.mbeans.*#-[org.apache.derby:*]",
"queryNames";
   
+  // Test code needs this as well for the platform MBeanServer
+  // tests where the testing code is in the stack frame.
   permission org.apache.derby.security.SystemPermission "jmx", "control";
+  permission org.apache.derby.security.SystemPermission "engine", "monitor";
+  permission org.apache.derby.security.SystemPermission "server", "control,monitor";
 };
 
 // JUnit jar file tries to read junit.properties in the user's



Mime
View raw message