37#ifndef __FormAuthenticator_h
38#define __FormAuthenticator_h
40#include <AuthenticatedUser.h>
46 const char* errorMessagePage;
116BA_API
void FormAuthenticator_constructor(
122#define FormAuthenticator_destructor(o) do { \
124 baFree((o)->realm); \
128#define FormAuthenticator_setLoginTracker(o,loginTracker) \
129 (o)->tracker=loginTracker
131#define FormAuthenticator_setSecure(o) (o)->secure=TRUE
135inline FormAuthenticator::FormAuthenticator(
UserIntf* userDbIntf,
138 FormAuthenticator_constructor(
139 this, userDbIntf, realm, login);
142 FormAuthenticator_setLoginTracker(
this, tracker);
145 FormAuthenticator_setSecure(
this);
void setSecure()
Set the authenticator into secure mode and accept only SSL/TLS connections.
Definition: FormAuthenticator.h:144
void setLoginTracker(LoginTracker *tracker)
Prevent dictionary attacks.
Definition: FormAuthenticator.h:141
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
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