[jboss-cvs] JBossAS SVN: r78842 - branches/JBPAPP_4_3_0_GA_CC/system/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Sep 25 03:33:23 EDT 2008
Author: pskopek at redhat.com
Date: 2008-09-25 03:33:23 -0400 (Thu, 25 Sep 2008)
New Revision: 78842
Modified:
branches/JBPAPP_4_3_0_GA_CC/system/src/bin/security_cc.policy
Log:
Security policy chnages based on Anil's debugging of startup problems.
Modified: branches/JBPAPP_4_3_0_GA_CC/system/src/bin/security_cc.policy
===================================================================
--- branches/JBPAPP_4_3_0_GA_CC/system/src/bin/security_cc.policy 2008-09-25 07:17:35 UTC (rev 78841)
+++ branches/JBPAPP_4_3_0_GA_CC/system/src/bin/security_cc.policy 2008-09-25 07:33:23 UTC (rev 78842)
@@ -3,6 +3,19 @@
// Author: Anil Saldhana
//**********************************************************************
+// JBOSS code with codebase references in time of JBOSS startup
+grant codeBase "file:${user.dir}/run.jar" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${user.dir}/../lib/*" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${user.dir}/../server/production/lib/-" {
+ permission java.security.AllPermission;
+};
+
//**********************************************************
//
// Section 1: Java JDK Core Code
@@ -30,7 +43,6 @@
// Section 2: Permissions assigned to JBoss Core Codebase
//
//*********************************************************
-
// Trusted core JBoss code
grant codeBase "file:${jboss.home.dir}/bin/-" {
permission java.security.AllPermission;
@@ -142,3 +154,7 @@
permission java.lang.RuntimePermission "queuePrintJob";
permission java.net.SocketPermission "*", "connect";
};
+
+
+
+
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list