MySQLLDAPAuthModule.cpp 313 B

1234567891011
  1. #include "MySQLLDAPAuthModule.h"
  2. MySQLLDAPAuthModule::MySQLLDAPAuthModule(std::unique_ptr<ILDAPReader>&& _reader):
  3. ldapReader(std::move(_reader))
  4. {}
  5. bool MySQLLDAPAuthModule::Authenticate(const std::string& username, const std::string& password)
  6. {
  7. return username == "isundil" && password == "test";
  8. }