File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

JDBCRealm with single table

indika prasad kularathne

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.

I agree. Here's the link:
subject: JDBCRealm with single table
It's not a secret anymore!