Author: ron.sigal(a)jboss.com
Date: 2008-05-08 05:08:41 -0400 (Thu, 08 May 2008)
New Revision: 4148
Modified:
remoting2/branches/2.x/src/etc/remoting.security.policy.tests.marshal
Log:
JBREM-920: (1) Added permission to read remotely loaded files; (2) removed some irrelevant
permissions.
Modified: remoting2/branches/2.x/src/etc/remoting.security.policy.tests.marshal
===================================================================
--- remoting2/branches/2.x/src/etc/remoting.security.policy.tests.marshal 2008-05-08
09:03:47 UTC (rev 4147)
+++ remoting2/branches/2.x/src/etc/remoting.security.policy.tests.marshal 2008-05-08
09:08:41 UTC (rev 4148)
@@ -28,14 +28,8 @@
grant codeBase "file:${build.home}/output/lib/jboss-remoting.jar"
{
- // Permission to read test keystores
- permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}-", "read";
-
- // Permission for org.jboss.remoting.callback.CallbackStore
- permission java.io.FilePermission
"${build.home}${/}output${/}tests${/}classes${/}-", "read, write,
delete";
-
- // org.jboss.test.remoting.detection.metadata.MetadataTestCase
- permission javax.management.MBeanPermission
"org.jboss.test.remoting.detection.metadata.MetadataTestCase$TestNetworkRegistry#-[remoting:type=NetworkRegistry]",
"isInstanceOf";
+ // Permissions to read remotely loaded classes.
+ permission java.io.FilePermission
"${build.home}${/}output${/}lib${/}jboss-remoting-loading-tests.jar",
"read";
// org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter calls
// org.jboss.remoting.util.SystemUtility