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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user