Hi, I am pretty new to Jboss server. Can anybody help me out in cofiguring Login Module. My requirement is not to use any property files, the username and password should be stored in Jboss inbuilt database server(if it has one). Quick reply would be highly appreciated.
You can use DatabaseServerLoginModule. See JBoss QuickStart.pdf, or jbossj2ee.pdf for more explanation.
Joined: Jul 07, 2004
Hi, Sanju Tanks for your reply. Can u (or any one else) please help me out in using HypersonicSql database for jaas authentication. I gone through the quickstart.pdf, its looking bit bouncer for me........
Thanks and Regards, Kalai Selvan T.
Joined: Dec 29, 2004
You need to give an entry in the JBOSS_HOME/server/conf/login-module.xml file. It would be something like this.
You have to use application policy name in the jboss.xml file. Then it would be something like this.
Noramally java:/DefaultDS datasource is bound to hypersonic in JBoss. so no need to deploy any file for that. But still you need to use a client login module to populate the user principal and credential to the JBoss. for more details on using DatabaseServerLoginModule