* Changed name of auth function to better reflect actual use

0.6.1-post-fixes
lbsa71 2008-11-28 12:31:30 +00:00
parent 09281fb55c
commit 27d9e715c0
1 changed files with 3 additions and 2 deletions

View File

@ -152,7 +152,7 @@ namespace OpenSim.Framework.Communications
m_log.DebugFormat(
"[LOGIN]: XMLRPC Client is {0}, start location is {1}", clientVersion, startLocationRequest);
if (!TryAuthenticateUser(request, firstname, lastname, out userProfile))
if( !TryAuthenticateXmlRpcLogin(request, firstname, lastname, out userProfile ) )
{
return logResponse.CreateLoginFailedResponse();
}
@ -193,6 +193,7 @@ namespace OpenSim.Framework.Communications
return logResponse.CreateAlreadyLoggedInResponse();
}
// Otherwise...
// Create a new agent session
@ -285,7 +286,7 @@ namespace OpenSim.Framework.Communications
}
}
protected virtual bool TryAuthenticateUser(XmlRpcRequest request, string firstname, string lastname, out UserProfileData userProfile)
protected virtual bool TryAuthenticateXmlRpcLogin(XmlRpcRequest request, string firstname, string lastname, out UserProfileData userProfile)
{
Hashtable requestData = (Hashtable)request.Params[0];