db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r676764 - in /db/jdo/trunk/tck2: maven.xml src/conf/security.policy
Date Mon, 14 Jul 2008 23:12:05 GMT
Author: clr
Date: Mon Jul 14 16:12:05 2008
New Revision: 676764

URL: http://svn.apache.org/viewvc?rev=676764&view=rev
Log:
JDO-555 Add Springbeans to security policy.

Modified:
    db/jdo/trunk/tck2/maven.xml
    db/jdo/trunk/tck2/src/conf/security.policy

Modified: db/jdo/trunk/tck2/maven.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/maven.xml?rev=676764&r1=676763&r2=676764&view=diff
==============================================================================
--- db/jdo/trunk/tck2/maven.xml (original)
+++ db/jdo/trunk/tck2/maven.xml Mon Jul 14 16:12:05 2008
@@ -509,6 +509,10 @@
                          value="${jdo.tck.basedir}"/>
             <sysproperty key="jdo.tck.jdori.jarfile"
                          value="${datanucleus.jdori.jarfile}"/>
+            <sysproperty key="jdo.tck.springcore.jarfile"
+                         value="${springcore.jarfile}"/>
+            <sysproperty key="jdo.tck.springbeans.jarfile"
+                         value="${springbeans.jarfile}"/>
                          
             <jvmarg line="${database.runtck.sysproperties}"/>
             <jvmarg line="${jdori.runtck.sysproperties}"/>

Modified: db/jdo/trunk/tck2/src/conf/security.policy
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/security.policy?rev=676764&r1=676763&r2=676764&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/security.policy (original)
+++ db/jdo/trunk/tck2/src/conf/security.policy Mon Jul 14 16:12:05 2008
@@ -3,10 +3,24 @@
     permission java.io.FilePermission "${user.home}/junit.properties", "read";
 };
 
+// Springbeans code base
+grant codeBase "file://${jdo.tck.springbeans.jarfile}" {
+    permission java.lang.RuntimePermission "accessDeclaredMembers";
+    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
+};
+
+// Springcore code base
+grant codeBase "file://${jdo.tck.springcore.jarfile}" {
+    permission java.lang.RuntimePermission "accessDeclaredMembers";
+};
+
 // TCK test classes
 grant codeBase "file://${jdo.tck.testclasses.dir}/-" {
     permission javax.jdo.spi.JDOPermission "closePersistenceManagerFactory";
     permission javax.jdo.spi.JDOPermission "setStateManager";
+// needed for Springbeans
+    permission java.lang.RuntimePermission "accessDeclaredMembers";
+    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
 };
 
 // TCK PC enhanced classes



Mime
View raw message