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:
+15
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user