aspose file tools*
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 Spring in Action this week in the Spring 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Local webapp users