Yep. It's possible.
hack on your jboss-web.xml and say there that:
<security-domain>java:/jaas/<whatever you like it to be></security-domain>
The JbossSecurityMgrRealm would cache your credentials and push them to jboss on every bean invocation.
Hi alpo how exactly did you use JDBCRealm with Jboss and Tomcat.
In my case Jboss does connect to the database for the JDBCRealm, but I do not get the login window.
I set it up as per the Tomcat documentation.
Am I missing anything?