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
+15 -1
View File
@@ -45,12 +45,26 @@ PlayerData::GetName() const
}
void
PlayerData::SetName(const std::string &name)
PlayerData::SetName(const string &name)
{
boost::mutex::scoped_lock lock(m_dataMutex);
m_name = name;
}
string
PlayerData::GetPassword() const
{
boost::mutex::scoped_lock lock(m_dataMutex);
return m_password;
}
void
PlayerData::SetPassword(const string &password)
{
boost::mutex::scoped_lock lock(m_dataMutex);
m_password = password;
}
string
PlayerData::GetAvatarFile() const
{