37#ifndef __BasicAuthenticator_h
38#define __BasicAuthenticator_h
40#include <AuthenticatedUser.h>
90 BaBool filterMsDomain;
97BA_API
void BasicAuthenticator_constructor(
103#define BasicAuthenticator_setLoginTracker(o,loginTracker) \
104 (o)->tracker=loginTracker
105#define BasicAuthenticator_setFilterMsDomain(o, state) \
106 (o)->filterMsDomain=state
109BA_API
int BasicAuthenticator_setAutHeader(
113inline BasicAuthenticator::BasicAuthenticator(
UserIntf* userDbIntf,
116 BasicAuthenticator_constructor(
117 this,userDbIntf,realm,sendLogin); }
119 BasicAuthenticator_setLoginTracker(
this, tracker); }
122 return BasicAuthenticator_setAutHeader(realm,resp); }
void setLoginTracker(LoginTracker *tracker)
Prevent dictionary attacks.
Definition: BasicAuthenticator.h:118
static int setAutHeader(const char *realm, HttpResponse *response)
Sets an HTTP Basic authentication challenge and status code.
Definition: BasicAuthenticator.h:120
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and DigestAuthenticato...
Definition: AuthenticatedUser.h:398
Implements HTTP Basic authentication.
Definition: BasicAuthenticator.h:54
This object is used when sending response messages back to the client.
Definition: HttpServer.h:1194
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