db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r676215 - in /db/jdo/trunk/tck2: maven.xml src/conf/security.policy
Date Sat, 12 Jul 2008 19:08:09 GMT
Author: clr
Date: Sat Jul 12 12:08:08 2008
New Revision: 676215

URL: http://svn.apache.org/viewvc?rev=676215&view=rev
Log:
JDO-555 add enhanced classes jarfile 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=676215&r1=676214&r2=676215&view=diff
==============================================================================
--- db/jdo/trunk/tck2/maven.xml (original)
+++ db/jdo/trunk/tck2/maven.xml Sat Jul 12 12:08:08 2008
@@ -501,6 +501,8 @@
                          value="${junit.jarfile}"/>
             <sysproperty key="jdo.tck.testclasses.dir"
                          value="${jdo.tck.testclasses.dir}"/>
+            <sysproperty key="jdo.tck.enhanced.jarfile"
+                         value="${jdo.tck.enhanced.dir}/${jdo.tck.identitytype}.jar"/>
             <sysproperty key="jdo.api.jarfile"
                          value="${jdo.api.jarfile}"/>
             <sysproperty key="jdo.tck.basedir"

Modified: db/jdo/trunk/tck2/src/conf/security.policy
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/security.policy?rev=676215&r1=676214&r2=676215&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/security.policy (original)
+++ db/jdo/trunk/tck2/src/conf/security.policy Sat Jul 12 12:08:08 2008
@@ -9,6 +9,11 @@
     permission javax.jdo.spi.JDOPermission "setStateManager";
 };
 
+// TCK PC enhanced classes
+grant codebase "file://${jdo.tck.enhanced.jarfile}" {
+    permission javax.jdo.spi.JDOPermission "setStateManager";
+};
+
 // JDO API code base
 grant codeBase "file://${jdo.api.jarfile}" {
     permission javax.jdo.spi.JDOPermission "getMetadata";



Mime
View raw message