37#ifndef __DigestAuthenticator_h
38#define __DigestAuthenticator_h
40#include <AuthenticatedUser.h>
93 BaBool filterMsDomain;
100BA_API
void DigestAuthenticator_constructor(
106#define DigestAuthenticator_setLoginTracker(o,loginTracker) \
107 (o)->tracker=loginTracker
108#define DigestAuthenticator_setFilterMsDomain(o, state) \
109 (o)->filterMsDomain=state
110BA_API
void DigestAuthenticator_setAutHeader(
112#define DigestAuthenticator_setStrictMode(o, enableStrictMode) \
113 (o)->strictMode=enableStrictMode
117inline DigestAuthenticator::DigestAuthenticator(
UserIntf* userDbIntf,
120 DigestAuthenticator_constructor(
this,userDbIntf,realm,sendLogin);
123 DigestAuthenticator_setLoginTracker(
this, tracker);
127 DigestAuthenticator_setAutHeader(realm,resp); }
129 DigestAuthenticator_setStrictMode(
this, enableStrictMode ? TRUE : FALSE);
void setLoginTracker(LoginTracker *tracker)
Prevent dictionary attacks.
Definition: DigestAuthenticator.h:122
void setStrictMode(bool enableStrictMode=false)
Enable strict mode.
Definition: DigestAuthenticator.h:128
static void setAutHeader(const char *realm, HttpResponse *response)
Sets a HTTP digest authenticate header and sets status to.
Definition: DigestAuthenticator.h:125
Abstract base class implemented by BasicAuthUser, FormAuthUser and DigestAuthUser.
Definition: AuthenticatedUser.h:243
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and DigestAuthenticato...
Definition: AuthenticatedUser.h:395
Implements Digest Authentication.
Definition: DigestAuthenticator.h:55
This object is used when sending response messages back to the client.
Definition: HttpServer.h:1178
The LoginRespIntf is an abstract class, which must be implemented when using one of DigestAuthenticat...
Definition: AuthenticatedUser.h:460
The LoginTracker class is an optional security enhancement that can be installed in an instance of on...
Definition: AuthenticatedUser.h:812
Interface class used by the Authentication classes.
Definition: AuthenticatedUser.h:174