39#ifndef __BasicAuthenticator_h
40#define __BasicAuthenticator_h
129#define BasicAuthenticator_setLoginTracker(o,loginTracker) \
130 (o)->tracker=loginTracker
136#define BasicAuthenticator_setFilterMsDomain(o, state) \
137 (o)->filterMsDomain=state
152 this,userDbIntf,realm,sendLogin); }
BA_API int BasicAuthenticator_setAutHeader(const char *realm, HttpResponse *resp)
C form of BasicAuthenticator::setAutHeader.
BA_API void BasicAuthenticator_destructor(BasicAuthenticator *o)
Release authenticator-owned realm storage after detaching all users.
#define BasicAuthenticator_setLoginTracker(o, loginTracker)
C form of BasicAuthenticator::setLoginTracker.
Definition: BasicAuthenticator.h:129
BA_API void BasicAuthenticator_constructor(BasicAuthenticator *o, UserIntf *userDbIntf, const char *realm, LoginRespIntf *sendLogin)
C form of BasicAuthenticator::BasicAuthenticator.
void setLoginTracker(LoginTracker *tracker)
Configure login-attempt tracking.
Definition: BasicAuthenticator.h:153
static int setAutHeader(const char *realm, HttpResponse *response)
Sets an HTTP Basic authentication challenge and status code.
Definition: BasicAuthenticator.h:155
U8 BaBool
Boolean stored in an unsigned byte; FALSE is zero and TRUE is one.
Definition: GenPrimT.h:118
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and BasicAuthenticator...
Definition: AuthenticatedUser.h:425
Implements HTTP Basic authentication.
Definition: BasicAuthenticator.h:56
BasicAuthenticator()
Leave storage uninitialized; call BasicAuthenticator_constructor before use.
Definition: BasicAuthenticator.h:58
This object is used when sending response messages back to the client.
Definition: HttpServer.h:1379
The LoginRespIntf is an abstract class, which must be implemented when using one of DigestAuthenticat...
Definition: AuthenticatedUser.h:504
The LoginTracker class is an optional security enhancement that can be installed in an instance of on...
Definition: AuthenticatedUser.h:891
User database interface used by the authentication classes.
Definition: AuthenticatedUser.h:195