39#ifndef __FormAuthenticator_h
40#define __FormAuthenticator_h
48 const char* errorMessagePage;
133#define FormAuthenticator_destructor(o) do { \
135 baFree((o)->realm); \
143#define FormAuthenticator_setLoginTracker(o,loginTracker) \
144 (o)->tracker=loginTracker
150#define FormAuthenticator_setSecure(o) (o)->secure=TRUE
158 this, userDbIntf, realm, login);
BA_API void FormAuthenticator_constructor(FormAuthenticator *o, UserIntf *userDbIntf, const char *realm, LoginRespIntf *login)
C form of FormAuthenticator::FormAuthenticator.
#define FormAuthenticator_setLoginTracker(o, loginTracker)
C form of FormAuthenticator::setLoginTracker.
Definition: FormAuthenticator.h:143
void setSecure()
Set the authenticator into secure mode and accept only SSL/TLS connections.
Definition: FormAuthenticator.h:163
#define FormAuthenticator_setSecure(o)
C form of FormAuthenticator::setSecure.
Definition: FormAuthenticator.h:150
void setLoginTracker(LoginTracker *tracker)
Configure login-attempt tracking.
Definition: FormAuthenticator.h:160
uint8_t U8
Unsigned 8-bit integer.
Definition: GenPrimT.h:89
U8 BaBool
Boolean stored in an unsigned byte; FALSE is zero and TRUE is one.
Definition: GenPrimT.h:118
Abstract base class implemented by BasicAuthUser, FormAuthUser and DigestAuthUser.
Definition: AuthenticatedUser.h:272
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and BasicAuthenticator...
Definition: AuthenticatedUser.h:425
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