[jboss-remoting-commits] JBoss Remoting SVN: r4545 - remoting2/branches/2.x/src/etc.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Sun Sep 7 16:48:22 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-09-07 16:48:22 -0400 (Sun, 07 Sep 2008)
New Revision: 4545

Modified:
   remoting2/branches/2.x/src/etc/remoting.security.policy.tests
Log:
JBREM-1033: Added permission to write System property "java.naming.factory.initial".

Modified: remoting2/branches/2.x/src/etc/remoting.security.policy.tests
===================================================================
--- remoting2/branches/2.x/src/etc/remoting.security.policy.tests	2008-09-07 20:48:01 UTC (rev 4544)
+++ remoting2/branches/2.x/src/etc/remoting.security.policy.tests	2008-09-07 20:48:22 UTC (rev 4545)
@@ -177,6 +177,9 @@
     
     // This is technically the JNP server, but it seems intentional - note that this might mask other problems though
     permission java.net.SocketPermission "*:*", "accept, connect, resolve";
+    
+    // jndi detection test cases
+    permission java.util.PropertyPermission "java.naming.factory.initial", "write";
 
     // TODO - this stuff ought to be in privileged blocks within the Ant JUnit task
     permission java.util.PropertyPermission "*", "read, write"; // ugh




More information about the jboss-remoting-commits mailing list