37#ifndef __DigestAuthenticator_h
38#define __DigestAuthenticator_h
40#include <AuthenticatedUser.h>
96 BaBool filterMsDomain;
103BA_API
void DigestAuthenticator_constructor(
109#define DigestAuthenticator_setLoginTracker(o,loginTracker) \
110 (o)->tracker=loginTracker
111#define DigestAuthenticator_setFilterMsDomain(o, state) \
112 (o)->filterMsDomain=state
113BA_API
void DigestAuthenticator_setAutHeader(
115#define DigestAuthenticator_setStrictMode(o, enableStrictMode) \
116 (o)->strictMode=enableStrictMode
120inline DigestAuthenticator::DigestAuthenticator(
UserIntf* userDbIntf,
123 DigestAuthenticator_constructor(
this,userDbIntf,realm,sendLogin);
126 DigestAuthenticator_setLoginTracker(
this, tracker);
130 DigestAuthenticator_setAutHeader(realm,resp); }
132 DigestAuthenticator_setStrictMode(
this, enableStrictMode ? TRUE : FALSE);
void setLoginTracker(LoginTracker *tracker)
Prevent dictionary attacks.
Definition: DigestAuthenticator.h:125
void setStrictMode(bool enableStrictMode=false)
Enable strict RFC-compatible Digest mode.
Definition: DigestAuthenticator.h:131
static void setAutHeader(const char *realm, HttpResponse *response)
Sets an HTTP Digest authentication challenge and status code.
Definition: DigestAuthenticator.h:128
Abstract base class implemented by BasicAuthUser, FormAuthUser and DigestAuthUser.
Definition: AuthenticatedUser.h:246
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and DigestAuthenticato...
Definition: AuthenticatedUser.h:398
Implements HTTP Digest authentication.
Definition: DigestAuthenticator.h:55
This object is used when sending response messages back to the client.
Definition: HttpServer.h:1186
The LoginRespIntf is an abstract class, which must be implemented when using one of DigestAuthenticat...
Definition: AuthenticatedUser.h:463
The LoginTracker class is an optional security enhancement that can be installed in an instance of on...
Definition: AuthenticatedUser.h:809
User database interface used by the authentication classes.
Definition: AuthenticatedUser.h:177