It means that on whichever database you are using to store your authentication 
information  you need to create a user id and password for Tomcat to connect to 
it and then read the information.

Your database doc. will give instructions on creating user/pass on it. For eg. 
you can create user/password as tcuser/mypassword.

You then need to configure a Datasource in Tomcat which can be used by Tomcat 
to connect to this database and read the proper tables for authentication. Read 
the Datasource related docs.

http://tomcat.apache.org/tomcat-5.5-doc/config/realm.html

These instructions are for authentication information stored in a relational 
database that can be accessed by proper JDBC driver an example would be MySQL.

If you are storing authentication information in LDAP server then read that 
section.

-Sameer


--- On Tue, 7/22/08, Carol Cheung <[EMAIL PROTECTED]> wrote:

> From: Carol Cheung <[EMAIL PROTECTED]>
> Subject: DataSourceRealm documentation
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Date: Tuesday, July 22, 2008, 3:07 AM
> Hi,
> 
> I'm reading about DataSourceRealm at 
> http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
> and step 2 under "Quick Start" is confusing.
> 
> It says "Configure a database username and password
> for use by Tomcat ..."
> What does this mean? What should the username and password
> be and where 
> should they be located so that they are configured for use
> by Tomcat?
> 
> There's no username or password specified in the
> example Realm element 
> under the DataSourceRealm section.
> 
> Thanks,
> Carol
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]


      

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to