Author: ron.sigal(a)jboss.com
Date: 2008-03-27 03:33:15 -0400 (Thu, 27 Mar 2008)
New Revision: 3801
Modified:
remoting2/branches/2.x/test.policy
Log:
JBREM-920: Added some more Remoting permissions.
Modified: remoting2/branches/2.x/test.policy
===================================================================
--- remoting2/branches/2.x/test.policy 2008-03-27 07:28:52 UTC (rev 3800)
+++ remoting2/branches/2.x/test.policy 2008-03-27 07:33:15 UTC (rev 3801)
@@ -25,7 +25,7 @@
permission javax.management.MBeanPermission
"org.jboss.remoting.network.NetworkRegistry#-[remoting:type=NetworkRegistry]",
"queryMBeans, isInstanceOf";
permission javax.management.MBeanPermission
"org.jboss.remoting.network.NetworkRegistry#Servers[remoting:type=NetworkRegistry]",
"getAttribute";
permission javax.management.MBeanPermission
"-#ServerDataDir[jboss.system:type=ServerConfig]", "getAttribute";
-
+
// TODO: Figure out why these aren't covered by the AllPermission entries below
permission javax.management.MBeanPermission
"org.jboss.test.remoting.detection.metadata.MetadataTestCase$TestNetworkRegistry#-[remoting:type=NetworkRegistry]",
"unregisterMBean, registerMBean, queryMBeans, isInstanceOf";
@@ -58,8 +58,9 @@
permission java.util.PropertyPermission "remoting.stream.transport",
"read";
permission java.util.PropertyPermission "remoting.stream.host",
"read";
permission java.util.PropertyPermission "remoting.stream.port",
"read";
- permission java.util.PropertyPermission
"org.jboss.security.ignoreHttpsHost" , "read";
-
+ permission java.util.PropertyPermission
"org.jboss.security.ignoreHttpsHost" , "read";
+ permission java.util.PropertyPermission
"tomcat.util.buf.StringCache.byte.enabled", "read";
+
// Tomcat native - TODO - this should be in a privileged block in jbossnative
permission java.lang.RuntimePermission "loadLibrary.tcnative-1";
permission java.lang.RuntimePermission "loadLibrary.libtcnative-1";
@@ -69,7 +70,8 @@
permission java.io.FilePermission "${build.home}/output/tests/classes/-",
"read";
permission java.io.FilePermission "${build.home}", "read";
permission java.io.FilePermission "${build.home}/jboss.identity",
"read";
-
+ permission java.io.FilePermission "-", "read";
+
// Permission for org.jboss.remoting.ident.Identity to create
"jboss.identity" file. Could be extended.
permission java.io.FilePermission "${build.home}", "write";
Show replies by date