Ya, you are right, that code wont be working for the requirement you are mentioning.
"wats" wrote : I tried using DatabaseServerLoginModule, but it seems it is not able to acces the DataSource in the application server. | Whats the exact problem you are facing while using DatabaseServerLoginModule. Can you post relevant extracts from your jaas login code? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895126#3895126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895126 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user