httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John K. Sterling" <j...@sterls.com>
Subject Re: mod_authn_mysql
Date Thu, 13 Feb 2003 13:56:28 GMT
>-- Original Message --
>Reply-To: dev@httpd.apache.org
>From: Martin Kutschker <Martin.Kutschker@blackbox.net>
>To: dev@httpd.apache.org
>Subject: Re: mod_authn_mysql
>Date: Thu, 13 Feb 2003 12:08:02 +0100 (MET)
>
>> Looking at existing 1,3 modules for sybase, postgress, msql and mysql
>> I see that we essentially just use:
>> Would it be worth our while to do something so that we can deal with
>> all 4 or 5 with a simple lib_sql_* behind a generic mod_authn_sql.
>
>Don't think it's worth the hassle as it's just a few lines (more or less)
>duplicated. The error checking would be driver specific anyway.

hmmm, I actually like the idea.  It would allow us to create a very feature
rich auth module, supporting all sorts of different kinds of schemas for
group membership and what not. - I disagree that the sql re-use would just
be a few lines, I think it would be quite a bit more if features were added.

>It would be different if the proposed mod_authn_sql (or mod_authn_rdbm)
would
>implement a generic connection pooling.

this, IMO, doesn't belong in an auth module itself.  if you implement connection
pooling it should be independent of who is using the connections.

sterling




Mime
View raw message