Starting gsasl integration to perform challenge response authentication. Note that gsasl 1.3 is required (previous versions are not supported). Authentication is currently broken.

This commit is contained in:
lotodore
2009-10-11 09:20:17 +00:00
parent fe627fe6f5
commit 1f7f045d15
18 changed files with 123 additions and 100 deletions
+5
View File
@@ -28,6 +28,7 @@
#include <vector>
#include <map>
#include <core/crypthelper.h>
#include <db/serverdbcallback.h>
class SessionData;
@@ -78,6 +79,8 @@ public:
std::string GetName() const;
void SetName(const std::string &name);
std::string GetPassword() const;
void SetPassword(const std::string &password);
std::string GetAvatarFile() const;
void SetAvatarFile(const std::string &avatarFile);
MD5Buf GetAvatarMD5() const;
@@ -98,8 +101,10 @@ public:
private:
const unsigned m_uniqueId;
DB_id m_dbId;
int m_number;
std::string m_name;
std::string m_password;
std::string m_avatarFile;
MD5Buf m_avatarMD5;
PlayerType m_type;