You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Donald Ball <db...@rhoworld.com> on 2002/10/07 17:08:11 UTC
Generalized JDBC Realm?
Hi guys. I recently had to try to attach the JDBCRealm from tomcat 4.x to a
prebuilt authentication database. Unfortunately, I was unable to do so
without modification. To get the role information, for instance, I have to
run a join query that selects from three tables. The JDBCRealm
implementation only allows you to specify a table name for users and a
table name for roles, and column names therein. Rather than have the
database developers create a view or otherwise make a specially constructed
table just for tomcat, I generalized the JDBCRealm so that instead of
specifying table and column names, you have the option to just give it two
sql queries instead which can be as simple or as complex as you need.
Would the tomcat team be interested in this generalized JDBCRealm? If so,
should I post it here or to bugzilla?
- donald
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>