db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andre...@apache.org
Subject svn commit: r425732 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testProtocol.policy
Date Wed, 26 Jul 2006 13:42:14 GMT
Author: andreask
Date: Wed Jul 26 06:42:14 2006
New Revision: 425732

URL: http://svn.apache.org/viewvc?rev=425732&view=rev
Log:
DERBY-1545 derbynet/testProtocol.java fails with security manager enabled. Fixed by granting
SocketPermission in policy file for the test

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testProtocol.policy

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testProtocol.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testProtocol.policy?rev=425732&r1=425731&r2=425732&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testProtocol.policy
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testProtocol.policy
Wed Jul 26 06:42:14 2006
@@ -7,3 +7,7 @@
   permission java.io.FilePermission "${derby.system.home}${/}*", "write";  
 };
 
+grant codeBase "${derbyTesting.codejar}derbyTesting.jar" {
+    permission java.net.SocketPermission "127.0.0.1", "accept,connect,resolve";
+    permission java.net.SocketPermission "localhost", "accept,connect,resolve";  
+};



Mime
View raw message