Remove another IAuthentificationInterface user

remotes/origin/0.6.7-post-fixes
Melanie 2009-08-30 03:27:09 +01:00
parent 5b06079a83
commit 07e8907569
1 changed files with 7 additions and 6 deletions

View File

@ -109,12 +109,13 @@ namespace OpenSim.Server.Handlers.Simulation
httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized;
return result;
}
if (!m_AuthenticationService.VerifyKey(agentID, authToken))
{
m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path);
httpResponse.StatusCode = (int)HttpStatusCode.Forbidden;
return result;
}
// TODO: Rethink this
//if (!m_AuthenticationService.VerifyKey(agentID, authToken))
//{
// m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path);
// httpResponse.StatusCode = (int)HttpStatusCode.Forbidden;
// return result;
//}
m_log.DebugFormat("[AgentPostHandler]: Authentication succeeded for {0}", agentID);
}