Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBCRealm with single table  RSS feed

 
indika prasad kularathne
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!