[jboss-cvs] JBossAS SVN: r62005 - branches/Branch_4_2/testsuite/src/resources/securitymgr.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Apr 2 16:04:06 EDT 2007


Author: ldimaggi at redhat.com
Date: 2007-04-02 16:04:06 -0400 (Mon, 02 Apr 2007)
New Revision: 62005

Modified:
   branches/Branch_4_2/testsuite/src/resources/securitymgr/server.policy
Log:
Modifed server.policy to support running test suite with JBossAS installed from RPMs per -  http://jira.jboss.com/jira/browse/JBPAPP-60

Modified: branches/Branch_4_2/testsuite/src/resources/securitymgr/server.policy
===================================================================
--- branches/Branch_4_2/testsuite/src/resources/securitymgr/server.policy	2007-04-02 19:53:59 UTC (rev 62004)
+++ branches/Branch_4_2/testsuite/src/resources/securitymgr/server.policy	2007-04-02 20:04:06 UTC (rev 62005)
@@ -51,3 +51,12 @@
    permission javax.management.MBeanPermission "org.jboss.mx.modelmbean.XMBean#*[JMImplementation:type=MBeanRegistry]", "*";
    permission javax.security.auth.AuthPermission "createLoginContext.*";
 };
+
+// To handle tests run with JBoss installed from RPMs - http://jira.jboss.com/jira/browse/JBPAPP-60
+grant codeBase "file:/usr/share/java/-" {
+   permission java.security.AllPermission;
+};
+grant codeBase "file:/etc/jbossas/-" {
+   permission java.security.AllPermission;
+};
+




More information about the jboss-cvs-commits mailing list