39#ifndef __Authenticator_h
40#define __Authenticator_h
140#define Authenticator_setLoginTracker(o, loginTracker)\
141 BasicAuthenticator_setLoginTracker(&(o)->basicAuth, loginTracker),\
142 DigestAuthenticator_setLoginTracker(&(o)->digestAuth, loginTracker),\
143 FormAuthenticator_setLoginTracker(&(o)->formAuth, loginTracker)
147#define Authenticator_getBasicAuthenticator(o) (&(o)->basicAuth)
151#define Authenticator_getDigestAuthenticator(o) (&(o)->digestAuth)
155#define Authenticator_getFormAuthenticator(o) (&(o)->formAuth)
BasicAuthenticator * getBasicAuthenticator()
Access the embedded Basic authenticator.
Definition: Authenticator.h:167
#define Authenticator_getBasicAuthenticator(o)
Access the embedded Basic authenticator.
Definition: Authenticator.h:147
#define Authenticator_setLoginTracker(o, loginTracker)
C form of Authenticator::setLoginTracker.
Definition: Authenticator.h:140
BA_API void Authenticator_destructor(Authenticator *o)
Release authenticator-owned realm storage after detaching all users.
#define Authenticator_getFormAuthenticator(o)
Access the embedded Form authenticator.
Definition: Authenticator.h:155
#define Authenticator_getDigestAuthenticator(o)
Access the embedded Digest authenticator.
Definition: Authenticator.h:151
FormAuthenticator * getFormAuthenticator()
Access the embedded Form authenticator.
Definition: Authenticator.h:173
Authenticator(UserIntf *userDbIntf, const char *realm, LoginRespIntf *sendLogin)
Construct an authenticator using application-provided user lookup.
Definition: Authenticator.h:158
void setLoginTracker(LoginTracker *tracker)
Configure login-attempt tracking.
Definition: Authenticator.h:164
BA_API void Authenticator_constructor(Authenticator *o, UserIntf *userDbIntf, const char *realm, LoginRespIntf *sendLogin)
C form of Authenticator::Authenticator.
DigestAuthenticator * getDigestAuthenticator()
Access the embedded Digest authenticator.
Definition: Authenticator.h:170
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and BasicAuthenticator...
Definition: AuthenticatedUser.h:425
Combines HTTP Basic, HTTP Digest, and form-based authentication.
Definition: Authenticator.h:63
Implements HTTP Basic authentication.
Definition: BasicAuthenticator.h:56
Implements HTTP Digest authentication.
Definition: DigestAuthenticator.h:57
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