permaculture playing cards*
The moose likes Tomcat and the fly likes JDBCRealm with single table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBCRealm with single table" Watch "JDBCRealm with single table" New topic
Author

JDBCRealm with single table

indika prasad kularathne
Greenhorn

Joined: Oct 14, 2004
Posts: 20
Hi all,

I am having existing user table called company_user with number of feilds including user_id and user_pwd.

Is it possible to configure tomcat server to use only above table to authitification the system by jdbcrealm. And please tell me the code for server.xml and web.xml files for this.

thanks.
 
Consider Paul's rocket mass heater.
 
subject: JDBCRealm with single table