db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r596882 - in /db/derby/code/branches/10.3/java/drda/org/apache/derby/drda: server.policy template.policy
Date Tue, 20 Nov 2007 23:52:28 GMT
Author: rhillegas
Date: Tue Nov 20 15:52:28 2007
New Revision: 596882

URL: http://svn.apache.org/viewvc?rev=596882&view=rev
Log:
DERBY-3086: Port 596880 from trunk to 10.3 branch, removing derbyTesting.jar grants from default
server policy.

Modified:
    db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/server.policy
    db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/template.policy

Modified: db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/server.policy
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/server.policy?rev=596882&r1=596881&r2=596882&view=diff
==============================================================================
--- db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/server.policy (original)
+++ db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/server.policy Tue Nov 20 15:52:28
2007
@@ -82,7 +82,7 @@
 // Needed by sysinfo. The file permission is needed to
 // check the existence of jars on the classpath. You can
 // limit this permission to just the locations which hold
-// your jar files. This block is reproduced in the 3 codebases
+// your jar files. This block is for all codebases
 // which include the sysinfo classes--the policy file syntax
 // does not let you grant permissions to several codebases
 // all at once.
@@ -100,7 +100,7 @@
 // Needed by sysinfo. The file permission is needed to
 // check the existence of jars on the classpath. You can
 // limit this permission to just the locations which hold
-// your jar files. This block is reproduced in the 3 codebases
+// your jar files. This block is reproduced for all codebases
 // which include the sysinfo classes--the policy file syntax
 // does not let you grant permissions to several codebases
 // all at once.
@@ -112,23 +112,6 @@
   permission java.io.FilePermission "<<ALL FILES>>", "read";
 };
 
-grant codeBase "${derby.install.url}derbytesting.jar"
-{
-//
-// Needed by sysinfo. The file permission is needed to
-// check the existence of jars on the classpath. You can
-// limit this permission to just the locations which hold
-// your jar files. This block is reproduced in the 3 codebases
-// which include the sysinfo classes--the policy file syntax
-// does not let you grant permissions to several codebases
-// all at once.
-//
-  permission java.util.PropertyPermission "user.*", "read";
-  permission java.util.PropertyPermission "java.home", "read";
-  permission java.util.PropertyPermission "java.class.path", "read";
-  permission java.lang.RuntimePermission "getProtectionDomain";
-  permission java.io.FilePermission "<<ALL FILES>>", "read";
-};
 
 
 

Modified: db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/template.policy
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/template.policy?rev=596882&r1=596881&r2=596882&view=diff
==============================================================================
--- db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/template.policy (original)
+++ db/derby/code/branches/10.3/java/drda/org/apache/derby/drda/template.policy Tue Nov 20
15:52:28 2007
@@ -76,7 +76,6 @@
 //    derby.jar
 //    derbyclient.jar
 //    derbytools.jar
-//    derbytesting.jar
 //
   permission java.util.PropertyPermission "user.*", "read";
   permission java.util.PropertyPermission "java.home", "read";



Mime
View raw message