A while back while debugging my overly-complicated security rules in my 
ejb-jar.xml, I found it useful to put a little more information into the 
log when a SecurityException("Illegal access exception") is thrown. 
Since this might be useful to others, here's a patch.

thanks,
danch

Index: SecurityInterceptor.java
===================================================================
RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/SecurityInterceptor.java,v
retrieving revision 1.11
diff -r1.11 SecurityInterceptor.java
214a215
 >             Logger.debug("Illegal access, principal="+principal+", 
method="+mi.getMethod());


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to