Author: david.lloyd(a)jboss.com
Date: 2008-11-14 16:32:52 -0500 (Fri, 14 Nov 2008)
New Revision: 4687
Modified:
remoting3/trunk/testing-support/src/main/resources/testing.policy
Log:
More strict testing permissions
Modified: remoting3/trunk/testing-support/src/main/resources/testing.policy
===================================================================
--- remoting3/trunk/testing-support/src/main/resources/testing.policy 2008-11-14 20:09:27
UTC (rev 4686)
+++ remoting3/trunk/testing-support/src/main/resources/testing.policy 2008-11-14 21:32:52
UTC (rev 4687)
@@ -16,7 +16,6 @@
grant codeBase "file:${build.home}/protocol/basic/target/test/classes/-"
{
permission java.lang.RuntimePermission "modifyThread"; // for executor
control
- permission java.net.SocketPermission "*:*", "accept, connect,
resolve";
permission org.jboss.remoting.EndpointPermission "createRequestHandler";
permission org.jboss.remoting.EndpointPermission "createClient";
};
@@ -24,9 +23,10 @@
grant codeBase "file:${build.home}/protocol/multiplex/target/test/classes/-"
{
permission java.lang.RuntimePermission "modifyThread"; // for executor
control
- permission java.net.SocketPermission "*:*", "accept, connect,
resolve";
permission org.jboss.remoting.EndpointPermission "createRequestHandler";
permission org.jboss.remoting.EndpointPermission "createClient";
+ permission org.jboss.remoting.EndpointPermission "createClientSource";
+ permission org.jboss.remoting.EndpointPermission "registerService";
};
// Permissions for Remoting itself