38 #ifndef _AUTHENTICATION_UNIT_HPP_INCLUDED
39 #define _AUTHENTICATION_UNIT_HPP_INCLUDED
66 virtual const char*
className()
const = 0;
72 virtual const char**
mechs()
const = 0;
88 #endif // _AUTHENTICATION_UNIT_HPP_INCLUDED
Basic user login information.
const std::string m_identifier
Definition: authUnit.hpp:83
const std::string & identifier() const
Definition: authUnit.hpp:62
Classes for network endpoints.
virtual bool resolveDB(const db::DatabaseProvider &)
Definition: authUnit.hpp:64
Database provider interface.
Database provider.
Definition: DBprovider.hpp:70
Password changer interface This the only interface to be used by the system. All other interfaces are...
Definition: passwordChanger.hpp:52
This is the base class for authenticator slices implementations An authenticator has (usually) severa...
Definition: authSlice.hpp:55
AuthenticationSlice interface.
Data structure containing all login data of a user.
Definition: user.hpp:47
This is the base class for the authentication unit implementations.
Definition: authUnit.hpp:54
virtual const char ** mechs() const =0
The list of mechs implemented by this unit.
virtual PasswordChanger * passwordChanger(const User &, const net::RemoteEndpoint &)
A PasswordChanger for the user (or NULL)
Definition: authUnit.hpp:79
virtual AuthenticatorSlice * slice(const std::string &mech, const net::RemoteEndpoint &client)=0
An AuthenticatorSlice for the required mech (or NULL)
virtual ~AuthenticationUnit()
Definition: authUnit.hpp:60
virtual const char * className() const =0
Remote connection endpoint.
Definition: connectionEndpoint.hpp:190
AuthenticationUnit(const std::string &id)
Definition: authUnit.hpp:57