db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject svn commit: r689008 - /db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
Date Tue, 26 Aug 2008 09:19:16 GMT
Author: johnemb
Date: Tue Aug 26 02:19:13 2008
New Revision: 689008

URL: http://svn.apache.org/viewvc?rev=689008&view=rev
Log:
DERBY-3836: On 10.4 branch JMX tests fail with security exceptions when run against classes
 - Backported (cleanly) revision 639721 from trunk:
   'Add permissions to "class" portion of the derby test policy file that were
   added to the jar file section previously.'
   (Added SystemPermissions to the classes domain).
 - Merged by svn merge -r 639720:639721 https://svn.apache.org/repos/asf/db/derby/code/trunk/
 - Original contributor Mike Matrigali


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

Modified: db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy?rev=689008&r1=689007&r2=689008&view=diff
==============================================================================
--- db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
(original)
+++ db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
Tue Aug 26 02:19:13 2008
@@ -295,7 +295,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