[jboss-cvs] JBossAS SVN: r69657 - trunk/server/src/main/org/jboss/deployment/security.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 6 11:01:33 EST 2008


Author: anil.saldhana at jboss.com
Date: 2008-02-06 11:01:33 -0500 (Wed, 06 Feb 2008)
New Revision: 69657

Modified:
   trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java
Log:
JBAS-5217: add the parent simple name to the service bean object name such that WARs in different EARs do not conflict

Modified: trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java	2008-02-06 15:53:49 UTC (rev 69656)
+++ trunk/server/src/main/org/jboss/deployment/security/SecurityDeployer.java	2008-02-06 16:01:33 UTC (rev 69657)
@@ -132,7 +132,7 @@
          subjaccPolicy.setCode(PolicyConfigurationFacade.class.getName());
          try
          {
-            subjaccPolicy.setObjectName(new ObjectName(BASE_OBJECT_NAME  + str  ));
+            subjaccPolicy.setObjectName(new ObjectName(BASE_OBJECT_NAME  + str  + ",parent=" + childDU.getParent().getSimpleName()) );
          }
          catch (Exception e)
          {  




More information about the jboss-cvs-commits mailing list