1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-08 04:22:21 +03:00

Per Greg's request, add a version string component to the ap_provider.h

functions.  This allows modules to register different versions of the
same provider.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97696 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Justin Erenkrantz
2002-11-30 18:48:41 +00:00
parent 0a9e0a16a2
commit 1efa9fe703
8 changed files with 41 additions and 15 deletions

View File

@@ -115,7 +115,7 @@ static const char *add_authn_provider(cmd_parms *cmd, void *config,
/* lookup and cache the actual provider now */
newp->provider = ap_lookup_provider(AUTHN_PROVIDER_GROUP,
newp->provider_name);
newp->provider_name, "0");
if (newp->provider == NULL) {
/* by the time they use it, the provider should be loaded and
@@ -256,7 +256,7 @@ static int authenticate_basic_user(request_rec *r)
*/
if (!current_provider) {
provider = ap_lookup_provider(AUTHN_PROVIDER_GROUP,
AUTHN_DEFAULT_PROVIDER);
AUTHN_DEFAULT_PROVIDER, "0");
}
else {
provider = current_provider->provider;