Changes with Apache 2.3.11
+ *) mod_authn_socache: change directive name from AuthnCacheProvider
+ to AuthnCacheProvideFor. The term "provider" is overloaded in
+ this module, and we should avoid confusion between the provider
+ of a backend (AuthnCacheSOCache) and the authn provider(s) for
+ which this module provides cacheing (AuthnCacheProvideFor).
+ [Nick Kew]
+
*) mod_proxy_http: Allocate the fake backend request from a child pool
of the backend connection, instead of misusing the pool of the frontend
request. Fixes a thread safety issue where buckets set aside in the
<module>mod_authn_dbd</module> will usually benefit from this cache.</p>
<p>The basic rules to cache for a provider are:</p>
<ol><li>Include the provider you're cacheing for in an
- <directive>AuthnCacheProvider</directive> directive.</li>
+ <directive>AuthnCacheProvideFor</directive> directive.</li>
<li>List <var>socache</var> ahead of the provider you're
cacheing for in your <directive module="mod_auth_basic"
>AuthBasicProvider</directive> or <directive module=
AuthName "Cached Authentication Example"
AuthBasicProvider socache dbd
AuthDBDUserPWQuery "SELECT password FROM authn WHERE user = %s"
- AuthnCacheProvider dbd
+ AuthnCacheProvideFor dbd
AuthnCacheContext dbd-authn-example
AuthnCacheSOCache dbm
Require valid-user
</directivesynopsis>
<directivesynopsis>
-<name>AuthnCacheProvider</name>
+<name>AuthnCacheProvideFor</name>
<description>Specify which authn provider(s) to cache for</description>
-<syntax>AuthnCacheProvider <var>authn-provider</var> [...]</syntax>
+<syntax>AuthnCacheProvideFor <var>authn-provider</var> [...]</syntax>
<default>None</default>
<contextlist><context>directory</context><context>.htaccess</context></contextlist>
<override>AuthConfig</override>
<usage>
<p>This directive specifies an authentication provider or providers
to cache for. Credentials found by a provider not listed in an
- AuthnCacheProvider directive will not be cached.</p>
+ AuthnCacheProvideFor directive will not be cached.</p>
<p>For example, to cache credentials found by <module>mod_authn_dbd</module>
or by a custom provider <var>myprovider</var>, but leave those looked
up by lightweight providers like file or dbm lookup alone:</p>
<example>
- AuthnCacheProvider dbd myprovider
+ AuthnCacheProvideFor dbd myprovider
</example>
</usage>
</directivesynopsis>
AP_INIT_TAKE1("AuthnCacheSOCache", authn_cache_socache, NULL, RSRC_CONF,
"socache provider for authn cache"),
/* per-dir stuff */
- AP_INIT_ITERATE("AuthnCacheProvider", authn_cache_setprovider, NULL,
+ AP_INIT_ITERATE("AuthnCacheProvideFor", authn_cache_setprovider, NULL,
OR_AUTHCFG, "Determine what authn providers to cache for"),
AP_INIT_TAKE1("AuthnCacheTimeout", authn_cache_timeout, NULL,
OR_AUTHCFG, "Timeout (secs) for cached credentials"),