You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Secrist <to...@secristfamily.com> on 2002/09/26 04:07:22 UTC

UserDatabase interface

I am getting my first look at TC 4.1.12 - and have a question about global resources.

If I implement org.apache.catalina.UserDatabase, I should be able to use that as a factor for a GlobalNamingResource in the server config correct?

If that is true, is it also true that I could use this for my realm authentication - using the following (as configured in server.xml)?
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase"/>

Forgive me - but after hacking the JNDI realm directly, this just seems too easy...?

Randy