Author: ron.sigal(a)jboss.com
Date: 2008-04-10 01:13:04 -0400 (Thu, 10 Apr 2008)
New Revision: 3920
Modified:
remoting2/branches/2.x/src/etc/remoting.security.policy.tests
Log:
JBREM-920: (1) Added queryMBeans permission; (2) Removed '/' from codeBase URLs.
Modified: remoting2/branches/2.x/src/etc/remoting.security.policy.tests
===================================================================
--- remoting2/branches/2.x/src/etc/remoting.security.policy.tests 2008-04-09 07:43:57 UTC
(rev 3919)
+++ remoting2/branches/2.x/src/etc/remoting.security.policy.tests 2008-04-10 05:13:04 UTC
(rev 3920)
@@ -84,6 +84,9 @@
permission javax.management.MBeanPermission
"org.jboss.test.remoting.transport.rmi.ssl.config.FactoryConfigTestCase$SerializableServerSocketFactory#-[jboss:type=serversocketfactory]",
"registerMBean";
permission javax.management.MBeanServerPermission "createMBeanServer,
findMBeanServer";
+ // org.jboss.test.remoting.transport.connector.ObjectNameWithZeroesAddressTestCase
+ permission javax.management.MBeanPermission "*#-[*:*]",
"queryMBeans";
+
// This is technically the JNP server, but it seems intentional - note that this
might mask other problems though
permission java.net.SocketPermission "*:*", "accept, connect,
resolve";
@@ -124,12 +127,12 @@
//******************************************************************
//******************************************************************
-grant codeBase "file:/${build.home}/lib/-"
+grant codeBase "file:${build.home}/lib/-"
{
permission java.security.AllPermission;
};
-grant codeBase "file:/${ant.library.dir}/-"
+grant codeBase "file:${ant.library.dir}/-"
{
permission java.security.AllPermission;
};
Show replies by date