httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: ap_authn_cache_store call for groups
Date Wed, 17 Jun 2015 22:56:27 GMT
On Wed, Jun 17, 2015 at 6:50 PM, Helmut K. C. Tessarek
<> wrote:
> I was looking into caching of user credentials, but I think I might be missing something.
> The call ap_authn_cache_store seems to store user credentials which will help, if you
> a directive like 'Require valid-user', but it won't help for directives like
> 'Require group admin'.
> Am I right?
> So in case of an authentication module that uses database queries, all subsequent requests
> will still generate SQL statements for the user/group matching. Which means that only
> of the database requests are actually cached.

Sounds right.  The "authn" in the name is shorthand for authentication
(vs authorization). It seems possible to shoehorn other data into this
cache though, but it's not clear to me what it adds using socache

View raw message