Author: david.lloyd(a)jboss.com
Date: 2008-03-08 10:46:42 -0500 (Sat, 08 Mar 2008)
New Revision: 3597
Modified:
remoting2/branches/2.x/test.policy
Log:
More fixes for JBREM-920
Modified: remoting2/branches/2.x/test.policy
===================================================================
--- remoting2/branches/2.x/test.policy 2008-03-08 15:46:29 UTC (rev 3596)
+++ remoting2/branches/2.x/test.policy 2008-03-08 15:46:42 UTC (rev 3597)
@@ -6,12 +6,20 @@
// Can't create sockets without it
permission java.net.SocketPermission "*:*",
"accept,connect,listen,resolve";
+
+ // HTTP client invokers use Class.getMethod()
+ permission java.lang.RuntimePermission
"accessClassInPackage.sun.net.www.protocol.https";
+ permission java.lang.RuntimePermission
"accessClassInPackage.sun.net.www.protocol.http";
+
+ // Permission to create an MBean server
+ permission javax.management.MBeanServerPermission "createMBeanServer,
releaseMBeanServer";
};
// Permissions for JBoss Serialization
grant {
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.io.SerializablePermission "enableSubstitution";
+ permission java.io.SerializablePermission "enableSubclassImplementation";
permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
permission java.lang.RuntimePermission "reflectionFactoryAccess";
};
@@ -27,6 +35,7 @@
grant {
// Used by at least one test case
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
+ permission java.lang.RuntimePermission "setContextClassLoader";
};
// Permissions for JUnit itself to function
Show replies by date