my dog learned polymorphism*
The moose likes Tomcat and the fly likes Local webapp users 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 "Local webapp users" Watch "Local webapp users" New topic
Author

Local webapp users

Trish Dirac
Greenhorn

Joined: Sep 29, 2005
Posts: 7
Hi all.
I want my application to use it's local user database (like users.xml). Is it ever possible on Tomcat/5.5.4?
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Yes, there is file conf/tomcat-users.xml which is related to MemoryRealm.


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Trish Dirac
Greenhorn

Joined: Sep 29, 2005
Posts: 7
I mean user database, wich contains user/role configuration specially for my application, with no changes of global user database at TOMCAT/conf/users.xml.
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Than look at JDBCRealm in Tomcat.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Local webapp users