In the onMessage method of a MDB, how can I retrieve the name of the JAAS User Principal that initiated the request? My application is using Servlet login and a jdbcRealm.
I have considered adding this as a Message Property, but I would rather ensure that this is handled by JAAS.