tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Admin tool
Date Fri, 12 Sep 2003 12:36:48 GMT

Howdy,
Use a different realm than the default UserDatabase realm.  See
server.xml and its comments as well as the Realm documentation.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Jeff Cummings [mailto:jeffc@ltis.net]
>Sent: Thursday, September 11, 2003 5:33 PM
>To: 'Tomcat Users List'
>Subject: RE: Admin tool
>
>Hello,
>The admin tool reads users from this file but does not use this for
>authentication. This is done in the web.xml file. This is just
displayed in
>the admin tool. How do I have it read the users from an SQL database?
>
>Any ideas??
>
>Jeff
>
>
>-----Original Message-----
>From: Phillip Qin [mailto:Phillip.Qin@shareowner.com]
>Sent: Thursday, September 11, 2003 10:48 AM
>To: 'Tomcat Users List'
>Subject: RE: Admin tool
>
>Admin tool reads user id and password from this resource.
>
>-----Original Message-----
>From: Jeff Cummings [mailto:jeffc@ltis.net]
>Sent: September 10, 2003 6:40 PM
>To: 'Tomcat User'
>Subject: Admin tool
>
>Hello,
>I am using tomcat 4.1.24. For the admin web app, I configured
>authentication
>in the web.xml file in the WEB-INF directory. What is the purpose of
the
>following statements in the sample server.xml.
>
><!-- Editable user database that can also be used by
>         UserDatabaseRealm to authenticate users -->
>
>    <Resource name="UserDatabase" auth="Container"
>              type="org.apache.catalina.UserDatabase"
>       description="User database that can be updated and saved">
>    </Resource>
>
>    <ResourceParams name="UserDatabase">
>      <parameter>
>        <name>factory</name>
>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
>      </parameter>
>      <parameter>
>        <name>pathname</name>
>        <value>conf/tomcat-users.xml</value>
>      </parameter>
>    </ResourceParams>
>
>Jeff
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message