db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andre...@apache.org
Subject svn commit: r426048 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testProtocol.policy
Date Thu, 27 Jul 2006 12:43:52 GMT
Author: andreask
Date: Thu Jul 27 05:43:51 2006
New Revision: 426048

URL: http://svn.apache.org/viewvc?rev=426048&view=rev
Log:
updated policy to be in line with permissions granted for derbyclient.jar in derby_tests.policy.
Follow-up to DERBY-1545. This should enable running the server host on a remote machine when
running the testProtocol 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=426048&r1=426047&r2=426048&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
Thu Jul 27 05:43:51 2006
@@ -8,6 +8,7 @@
 };
 
 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";  
+  permission java.net.SocketPermission "127.0.0.1", "connect,resolve";
+  permission java.net.SocketPermission "localhost", "connect,resolve";
+  permission java.net.SocketPermission "${derbyTesting.serverhost}", "connect,resolve";
 };



Mime
View raw message