diff options
author | Eric Covener <covener@apache.org> | 2008-07-23 01:53:23 +0200 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2008-07-23 01:53:23 +0200 |
commit | 49168ab41a74e56ceea626d372289e68a8a47b09 (patch) | |
tree | 11de91bd63cebbfc20da0aed4c1a4f1a07a16f48 /modules/aaa | |
parent | revert r672639 which lacked a necessary major bump, add a major MMN bump (diff) | |
download | apache2-49168ab41a74e56ceea626d372289e68a8a47b09.tar.xz apache2-49168ab41a74e56ceea626d372289e68a8a47b09.zip |
propogate a NULL get_realm_hash() implementation from AuthnProviderAlias back
to mod_auth_digest. PR 45196
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@678949 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa')
-rw-r--r-- | modules/aaa/mod_authn_core.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/aaa/mod_authn_core.c b/modules/aaa/mod_authn_core.c index 649f6c6f08..22dfeccbb9 100644 --- a/modules/aaa/mod_authn_core.c +++ b/modules/aaa/mod_authn_core.c @@ -181,6 +181,12 @@ static const authn_provider authn_alias_provider = &authn_alias_get_realm_hash, }; +static const authn_provider authn_alias_provider_nodigest = +{ + &authn_alias_check_password, + NULL, +}; + static const char *authaliassection(cmd_parms *cmd, void *mconfig, const char *arg) { int old_overrides = cmd->override; @@ -256,7 +262,9 @@ static const char *authaliassection(cmd_parms *cmd, void *mconfig, const char *a /* Register the fake provider so that we get called first */ ap_register_auth_provider(cmd->pool, AUTHN_PROVIDER_GROUP, provider_alias, AUTHN_PROVIDER_VERSION, - &authn_alias_provider, + provider->get_realm_hash ? + &authn_alias_provider : + &authn_alias_provider_nodigest, AP_AUTH_INTERNAL_PER_CONF); } |