[jboss-cvs] JBossAS SVN: r73250 - trunk/connector/src/main/org/jboss/resource/deployers/builder.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun May 11 22:29:53 EDT 2008


Author: Jeff Zhang
Date: 2008-05-11 22:29:53 -0400 (Sun, 11 May 2008)
New Revision: 73250

Modified:
   trunk/connector/src/main/org/jboss/resource/deployers/builder/ConnectionManagerBuilder.java
Log:
[JBAS-5023] Add SecurityJndiName to attribute dependencies

Modified: trunk/connector/src/main/org/jboss/resource/deployers/builder/ConnectionManagerBuilder.java
===================================================================
--- trunk/connector/src/main/org/jboss/resource/deployers/builder/ConnectionManagerBuilder.java	2008-05-12 02:08:44 UTC (rev 73249)
+++ trunk/connector/src/main/org/jboss/resource/deployers/builder/ConnectionManagerBuilder.java	2008-05-12 02:29:53 UTC (rev 73250)
@@ -56,6 +56,14 @@
       attribute = buildSimpleAttribute("JndiName", md.getJndiName());
       attributes.add(attribute);
       
+      if (md.getSecurityMetaData() != null && 
+          md.getSecurityMetaData().getDomain() != null &&
+          !md.getSecurityMetaData().getDomain().equals(""))
+      {
+         attribute = buildSimpleAttribute("SecurityDomainJndiName", md.getSecurityMetaData().getDomain());
+         attributes.add(attribute);
+      }
+
       attribute = buildDependencyAttribute("CachedConnectionManager", CCM_JMX);      
       attributes.add(attribute);
       




More information about the jboss-cvs-commits mailing list