Hi!

I'm using xdoclet 1.3 to generate deployment descriptors for ejb 2.1 beans.

Some of my bean methods have unrestricted acces (@ejb.permission
unchecked = "true"), but inside I check roles using isCallerInRole.
For the role names that I use with isCallerInRole I declare role links
using @ejb.security-role-ref role-name = "..." role-link = "..."

My problem is that if a specific logical role is never used for method
access control (@ejb.permission role-name = "..."), but only for
isCallerInRole checks, the role does not get listed in assembly
section of deployement descriptor although it appears in
@ejb.security-role-ref at class declaration.

Is this a bug in xdoclet, or am I doing something wrong?

Regards,
--
kresho


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to