[jboss-cvs] JBossAS SVN: r81942 - projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 2 05:18:44 EST 2008
Author: ALRubinger
Date: 2008-12-02 05:18:44 -0500 (Tue, 02 Dec 2008)
New Revision: 81942
Modified:
projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/Ejb3DescriptorHandler.java
Log:
[EJBTHREE-1241] Add some logging to help determine security failures
Modified: projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/Ejb3DescriptorHandler.java
===================================================================
--- projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/Ejb3DescriptorHandler.java 2008-12-02 09:34:13 UTC (rev 81941)
+++ projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/Ejb3DescriptorHandler.java 2008-12-02 10:18:44 UTC (rev 81942)
@@ -1089,6 +1089,12 @@
{
annotation.addValue(roleName);
}
+
+ // Log and add
+ log.debug("Adding @" + RolesAllowed.class.getSimpleName() + " for method "
+ + method.getMethodName() + "("
+ + method.getMethodParams() + ") of EJB " + method.getEjbName() + ": "
+ + Arrays.asList(annotation.value()));
addAnnotations(RolesAllowed.class, annotation, container, method);
}
}
More information about the jboss-cvs-commits
mailing list