Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

enabling JAAS authentication service in tomcat 6.0.20  RSS feed

Mumtaz Khan
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to implement JAAS as an authentication and authorization service for my web application. I am using tomcat 6.0.20 server and mysql as database. I have read many articles on how to implement JAAS, infact have implemented it in a stand alone application where I am passing "" parameter as argument pointing to the jaas.config file.
For my web application , following this link, I added JAAS realm in server.xml but instead of providing authentication for specific application it is asking for authentication for Tomcat manager application when I am trying to run the application. How can I avoid this? Also which file should I add this$CATALINA_HOME/conf/jaas.config ?

The authentication should happen when I am submitting username and password on my login page.
Appreciate your help!!

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!