You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Glenn Nielsen <gl...@mail.more.net> on 2002/11/13 19:11:32 UTC

New Tomcat 4 DataSourceRealm

A while ago Craig and I had discussed some new Realm implementations.

Here is a new Realm implementation which uses a database provided by
a JNDI named JDBC DataSource.

The current JDBCRealm uses a single db connection where user authentication
is synchronized.  This could be a bottleneck for sites which have heavy
usage of realm based applications with large numbers of users in the realm.

By using a DataSource its implementation (DBCP) manages a db connection pool.
This allows the DataSourceRealm to authenticate multiple users at the same time.

I have the new DataSourceRealm and updated Tomcat 4 documentation ready to commit.

Any objections to adding this?

Regards,

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>