37#ifndef __Authenticator_h
38#define __Authenticator_h
40#include "BasicAuthenticator.h"
41#include "DigestAuthenticator.h"
42#include "FormAuthenticator.h"
108#define Authenticator_setLoginTracker(o, loginTracker)\
109 BasicAuthenticator_setLoginTracker(&(o)->basicAuth, loginTracker),\
110 DigestAuthenticator_setLoginTracker(&(o)->digestAuth, loginTracker),\
111 FormAuthenticator_setLoginTracker(&(o)->formAuth, loginTracker)
112#define Authenticator_getBasicAuthenticator(o) (&(o)->basicAuth)
113#define Authenticator_getDigestAuthenticator(o) (&(o)->digestAuth)
114#define Authenticator_getFormAuthenticator(o) (&(o)->formAuth)
121 Authenticator_constructor(
this, userDbIntf, realm, sendLogin);
124 Authenticator_setLoginTracker(
this, tracker);
127 return Authenticator_getBasicAuthenticator(
this);
130 return Authenticator_getDigestAuthenticator(
this);
133 return Authenticator_getFormAuthenticator(
this);
BasicAuthenticator * getBasicAuthenticator()
Get the internal BasicAuthenticator.
Definition: Authenticator.h:126
FormAuthenticator * getFormAuthenticator()
Get the internal FormAuthenticator.
Definition: Authenticator.h:132
Authenticator(UserIntf *userDbIntf, const char *realm, LoginRespIntf *sendLogin)
Definition: Authenticator.h:117
void setLoginTracker(LoginTracker *tracker)
Prevent dictionary attacks.
Definition: Authenticator.h:123
DigestAuthenticator * getDigestAuthenticator()
Get the internal DigestAuthenticator.
Definition: Authenticator.h:129
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and DigestAuthenticato...
Definition: AuthenticatedUser.h:395
This class implements HTTP Basic, HTTP Digest, and Form-Based Authentication.
Definition: Authenticator.h:58
Implements Basic Authentication.
Definition: BasicAuthenticator.h:54
Implements Digest Authentication.
Definition: DigestAuthenticator.h:55
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