I am trying to send emails from my web app using jboss mail server.
I specified jaas authentication in mail.sar/WEB-INF/jboss-service.xml
and then created a corresponding application policy in conf/login-config.xml.
My question is how do I know or specify what user or authentication my web application runs under in jboss?
I'm using the hypersonic db to store the user / roles and have created the tables referenced within the application policy defined in login-config.xml
any ideas, help would be hugely appreciated.