Author: david.lloyd(a)jboss.com
Date: 2009-02-26 13:46:32 -0500 (Thu, 26 Feb 2009)
New Revision: 4856
Added:
remoting3/trunk/testing.policy
Removed:
remoting3/trunk/testing-support/
Log:
Remove testing support module (for now, will be replaced with an external artifact
(hopefully))
Copied: remoting3/trunk/testing.policy (from rev 4855,
remoting3/trunk/testing-support/src/main/resources/testing.policy)
===================================================================
--- remoting3/trunk/testing.policy (rev 0)
+++ remoting3/trunk/testing.policy 2009-02-26 18:46:32 UTC (rev 4856)
@@ -0,0 +1,60 @@
+
+// Permissions for the tests
+
+grant codeBase "file:${build.home}/api/target/test/classes/-"
+{
+ permission java.lang.RuntimePermission "modifyThread"; // for executor
control
+ permission org.jboss.remoting.EndpointPermission "createEndpoint";
+ permission org.jboss.remoting.EndpointPermission "createRequestHandler";
+ permission org.jboss.remoting.EndpointPermission "createClient";
+};
+
+// Permissions for Remoting itself
+
+grant codeBase "file:${build.home}/api/target/main/classes/-"
+{
+ permission java.util.PropertyPermission "jboss.remoting.*",
"read";
+ permission org.jboss.remoting.EndpointPermission "*";
+};
+
+// Support classes
+
+grant codeBase "file:${build.home}/testing-support/target/main/classes/-"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${idea.home}/lib/idea_rt.jar"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${lib.junit.local}"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${ant.library.dir}/-"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${lib.xnio-api.local}"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${lib.xnio-nio.local}"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${lib.marshalling-api.local}"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${lib.river.local}"
+{
+ permission java.security.AllPermission;
+};
Show replies by date