[jboss-cvs] JBossAS SVN: r83846 - branches/Branch_5_x/testsuite/src/resources/securitymgr.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 4 06:57:40 EST 2009


Author: pskopek at redhat.com
Date: 2009-02-04 06:57:40 -0500 (Wed, 04 Feb 2009)
New Revision: 83846

Modified:
   branches/Branch_5_x/testsuite/src/resources/securitymgr/server.policy
Log:
JBQA-2054: Fix security policy file to run tests-security-manager clean

Modified: branches/Branch_5_x/testsuite/src/resources/securitymgr/server.policy
===================================================================
--- branches/Branch_5_x/testsuite/src/resources/securitymgr/server.policy	2009-02-04 11:52:32 UTC (rev 83845)
+++ branches/Branch_5_x/testsuite/src/resources/securitymgr/server.policy	2009-02-04 11:57:40 UTC (rev 83846)
@@ -296,7 +296,13 @@
    permission javax.management.MBeanPermission "*", "getMBeanInfo";
 };
 
+grant codeBase "file:${jboss.test.deploy.dir}/security-ejb3.jar" {
+   permission java.lang.RuntimePermission "createClassLoader";
+};
 
+grant codeBase "jar:file:${jboss.test.deploy.dir}/security-ejb3.jar!/-" {
+   permission java.security.AllPermission;
+};
 
 //***************************************************************
 // JBoss AS Test Suite Permissions (VFS URL Version)
@@ -332,6 +338,9 @@
    permission javax.management.MBeanPermission "*", "getMBeanInfo";
 };
 
+grant codeBase "vfsmemory://*" {
+   permission java.security.AllPermission;
+};
 
 //****************************************************************
 //  Default block of permissions




More information about the jboss-cvs-commits mailing list