I have a Stateless SesionBean that acts as facade to my other EJBs. I have deployed a .wsr with a deployment deskriptor that allows WEBService access to the methods of my facade. I also configured authentication for my webservice using jaas, as follows (out of my web-servce.xml):
I have not configured any security related stuff for my EJBs. I've written a client that accesses this webservice and everything works fine (I need to supply a username/password).
Now my question: What are the steps to get information in my EJB Method about who logged in. As an example:
How would I do this?
FYI: I'm using JBoss 3.2.6 with the jboss-net patch installed. The JAAS Realm is a Database-Realm if that's important.