aspose file tools*
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBCRealm with single table