Thanks, this helps a bit.  It doesn't quite solve my problem though -- at this 
point in the application, the user is already logged in, or they are not going 
to log in.  We use form authentication through j_security_check.  

What my session bean is trying to do is to get ahold of the user that is 
authenticated, if any, so that it may check some other information about the 
user.  

I know in the past, when we were still on weblogic and EJB2.1, all we had to do 
was get the SessionContext and then we could call methods such as 
findPrincipal() and isCallerInRole() but as I'm finding out, this doesn't work 
in EJB3.

This may still be a lack of understanding on my part, but I do appreciate all 
the help!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928462#3928462

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928462


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to