[jboss-cvs] JBossAS SVN: r68966 - trunk/server/src/main/org/jboss/ejb.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 15 00:12:20 EST 2008


Author: anil.saldhana at jboss.com
Date: 2008-01-15 00:12:20 -0500 (Tue, 15 Jan 2008)
New Revision: 68966

Modified:
   trunk/server/src/main/org/jboss/ejb/EjbModule.java
Log:
log a warn message when an ejb deployment is missing a security domain. The user needs to verify whether the behavior is intended or not

Modified: trunk/server/src/main/org/jboss/ejb/EjbModule.java
===================================================================
--- trunk/server/src/main/org/jboss/ejb/EjbModule.java	2008-01-15 03:53:49 UTC (rev 68965)
+++ trunk/server/src/main/org/jboss/ejb/EjbModule.java	2008-01-15 05:12:20 UTC (rev 68966)
@@ -873,6 +873,11 @@
             throw new DeploymentException("Invalid security-domain specified, name=" + confSecurityDomain, e);
          }
       }
+      else
+      {
+         log.warn("EJB Deployment has no configured security domain. " +
+                "Security will be bypassed. Please verify if this is intended. Deployment="+unit.getName());
+      }
 
       // Load the security proxy instance if one was configured
       String securityProxyClassName = bean.getSecurityProxy();




More information about the jboss-cvs-commits mailing list