JDBCRealm lets you store user accounts, passwords, and roles in a SQL
database. Then, you can protect things like servlets so that they require a
user to authenticate using a user name and password before they are granted
access to the servlet/resource.

By default, Tomcat uses MemoryRealm which does the same thing, but, the user
accounts, passwords, and role information is stored in a file named
tomcat-users.xml.

Jon

----- Original Message -----
From: "Ryan Ford" <[EMAIL PROTECTED]>
To: "Tomcat-User (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, September 14, 2001 4:39 PM
Subject: JDBC Realms


> Hello List,
>
> I am wondering what JDBC Realms are used for.  I successfully configured
it
> with mysql and tomcat 3.2.3, but I dont know what its for or what to do
with
> it.  I read
>
> http://jakarta.apache.org/tomcat/tomcat-3.2-doc/JDBCRealm.howto
>
> But it doesnt really say what it is.  Ive searched the archives and on
> google.  If anyone could offer an explanation of what its for, maybe a
brief
> example on how to use it, or point me to a good reference on the net or
even
> in a book, it would be much appreciated.
>
> Ryan Ford
>

Reply via email to