summaryrefslogtreecommitdiff
path: root/include/mod_auth.h
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2008-06-29 16:42:43 +0000
committerEric Covener <covener@apache.org>2008-06-29 16:42:43 +0000
commitbbc850ee3312f1a2541dbbaca93a3f3fa80eea5d (patch)
tree80ae9f025107a79ac67a0a7bc882eeb031628fc3 /include/mod_auth.h
parente57fda0fc0bcdfca257df4dadd6efed216724b05 (diff)
downloadhttpd-bbc850ee3312f1a2541dbbaca93a3f3fa80eea5d.tar.gz
mod_auth_digest: Detect during startup when AuthDigestProvider
is configured to use an incompatible provider via AuthnProviderAlias. PR 45196 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@672639 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/mod_auth.h')
-rw-r--r--include/mod_auth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mod_auth.h b/include/mod_auth.h
index c8e8570289..867c0f8dab 100644
--- a/include/mod_auth.h
+++ b/include/mod_auth.h
@@ -93,6 +93,10 @@ typedef struct {
*/
authn_status (*get_realm_hash)(request_rec *r, const char *user,
const char *realm, char **rethash);
+
+ /* OK if provider can satisfy get_realm_hash(), APR_ENOTIMPL otherwise. */
+ apr_status_t (*has_realm_hash)(cmd_parms *cmd, const char *provider_name);
+
} authn_provider;
/* A linked-list of authn providers. */