37#ifndef __BasicAuthenticator_h
38#define __BasicAuthenticator_h
40#include <AuthenticatedUser.h>
85 BaBool filterMsDomain;
92BA_API
void BasicAuthenticator_constructor(
98#define BasicAuthenticator_setLoginTracker(o,loginTracker) \
99 (o)->tracker=loginTracker
100#define BasicAuthenticator_setFilterMsDomain(o, state) \
101 (o)->filterMsDomain=state
102BA_API
void BasicAuthenticator_setAutHeader(
106inline BasicAuthenticator::BasicAuthenticator(
UserIntf* userDbIntf,
109 BasicAuthenticator_constructor(
110 this,userDbIntf,realm,sendLogin); }
112 BasicAuthenticator_setLoginTracker(
this, tracker); }
115 BasicAuthenticator_setAutHeader(realm,resp); }
static void setAutHeader(const char *realm, HttpResponse *response)
Sets a HTTP basic authenticate header and sets status to.
Definition: BasicAuthenticator.h:113
void setLoginTracker(LoginTracker *tracker)
Prevent dictionary attacks.
Definition: BasicAuthenticator.h:111
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and DigestAuthenticato...
Definition: AuthenticatedUser.h:395
Implements Basic Authentication.
Definition: BasicAuthenticator.h:54
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