This is the base class for the authentication unit implementations. More...
#include <authUnit.hpp>
Public Member Functions | |
AuthenticationUnit (const std::string &id) | |
virtual | ~AuthenticationUnit () |
const std::string & | identifier () const |
virtual bool | resolveDB (const db::DatabaseProvider &) |
virtual const char * | className () const =0 |
virtual const char ** | mechs () const =0 |
The list of mechs implemented by this unit. More... | |
virtual AuthenticatorSlice * | slice (const std::string &mech, const net::RemoteEndpoint &client)=0 |
An AuthenticatorSlice for the required mech (or NULL) More... | |
virtual PasswordChanger * | passwordChanger (const User &, const net::RemoteEndpoint &) |
A PasswordChanger for the user (or NULL) More... | |
Private Attributes | |
const std::string | m_identifier |
This is the base class for the authentication unit implementations.
|
inline |
|
inlinevirtual |
|
pure virtual |
|
inline |
|
pure virtual |
The list of mechs implemented by this unit.
|
inlinevirtual |
A PasswordChanger for the user (or NULL)
|
inlinevirtual |
|
pure virtual |
An AuthenticatorSlice for the required mech (or NULL)
|
private |
Copyright © 2014 - Project Wolframe - All Rights Reserved