On Apr 9, 2009, at 5:04 AM, dojolava wrote:
Hi,
is there a way to retrieve the username of the Caller in an JAAS
secured
SessionBean ? As I understand ctx.getCallerPrincipal() does not
return the
UserPrincipal in OpenEJB. How can I find out who is calling a
method? Do I
have to implement something like initialize(String username) on every
SessionBean I use?
You might have missed this response:
http://www.nabble.com/Re%3A-EJB-Design---Architecture-p22919988.html
Definitely let us know if this works for you -- we can make changes if
necessary.
-David