Author: ron.sigal(a)jboss.com
Date: 2008-05-09 03:49:28 -0400 (Fri, 09 May 2008)
New Revision: 4151
Modified:
remoting2/branches/2.x/src/etc/remoting.security.policy.tests.minimal
Log:
JBREM-920, JBREM-978: Added permissions for several tests.
Modified: remoting2/branches/2.x/src/etc/remoting.security.policy.tests.minimal
===================================================================
--- remoting2/branches/2.x/src/etc/remoting.security.policy.tests.minimal 2008-05-09
07:46:43 UTC (rev 4150)
+++ remoting2/branches/2.x/src/etc/remoting.security.policy.tests.minimal 2008-05-09
07:49:28 UTC (rev 4151)
@@ -31,11 +31,15 @@
// Permissions to read test keystores and truststores
permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}bisocket${/}ssl${/}.keystore",
"read";
permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}bisocket${/}ssl${/}.truststore",
"read";
+ permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}http${/}ssl${/}.keystore",
"read";
+ permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}http${/}ssl${/}.truststore",
"read";
permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}rmi${/}ssl${/}.keystore",
"read";
permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}rmi${/}ssl${/}.truststore",
"read";
permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}socket${/}ssl${/}.keystore",
"read";
permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}socket${/}ssl${/}.truststore",
"read";
-
+
+ // org.jboss.test.remoting.transport.http.ssl.custom.HTTPSInvokerTestCase
+ permission javax.management.MBeanPermission
"org.jboss.remoting.security.SSLServerSocketFactoryService#createServerSocket[test:type=serversocketfactory]",
"invoke";
};
//****************************************************************************************************************************************************************
@@ -56,7 +60,14 @@
permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}org${/}jboss${/}test${/}remoting${/}transport${/}socket${/}ssl${/}.truststore",
"read";
permission javax.management.MBeanServerPermission "createMBeanServer";
+
+ // org.jboss.test.remoting.transport.http.ssl.custom.HTTPSInvokerTestCase
+ permission javax.management.MBeanPermission
"org.jboss.remoting.security.SSLServerSocketFactoryService#-[test:type=serversocketfactory]",
"registerMBean";
+ permission javax.management.MBeanPermission
"org.jboss.remoting.transport.Connector#-[test:transport=coyote,type=connector]",
"registerMBean";
+
+ permission java.util.PropertyPermission
"org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH", "read";
permission java.util.PropertyPermission "jrunit.bind_addr",
"read";
+
permission java.net.SocketPermission "*:*", "accept,resolve";
// org.jboss.test.remoting.transport.InvokerTestDriver
Show replies by date