Hi Sohil Thanks for your response,
Hmmm...... I think I have to write my own login module whcih I have to call from my program. Reason being I have 1 other param whcih I use with Username and password to authenticate user. Also I was looking at your code org.jboss.security.idm.UsernameAndPasswordLoginModule here also you have written your own LoginModule. I am trying to figure out that there should be some way to still use your own LoginModule and hooking it up Subject/Principa with Tomcat Thanks again for your help Nipun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982741#3982741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982741 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user