aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
diff options
context:
space:
mode:
authorMelanie Thielker2009-06-03 19:49:26 +0000
committerMelanie Thielker2009-06-03 19:49:26 +0000
commit6e494e5de57d248e8c45d8a185d88fa06ee4b160 (patch)
tree707e62e7b23b1aa49d51f075567dadfb0b373734 /OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
parent* Making sure we fail a bit earlier if we have no AssetService (diff)
downloadopensim-SC_OLD-6e494e5de57d248e8c45d8a185d88fa06ee4b160.zip
opensim-SC_OLD-6e494e5de57d248e8c45d8a185d88fa06ee4b160.tar.gz
opensim-SC_OLD-6e494e5de57d248e8c45d8a185d88fa06ee4b160.tar.bz2
opensim-SC_OLD-6e494e5de57d248e8c45d8a185d88fa06ee4b160.tar.xz
Committing the partial refactor of authentication services. No user functionlity
will eat your babies, etc
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
index 0d7a493..dd32ec9 100644
--- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
+++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
@@ -108,7 +108,7 @@ namespace OpenSim.Server.Handlers.Simulation
108 httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; 108 httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized;
109 return result; 109 return result;
110 } 110 }
111 if (!m_AuthenticationService.VerifyKey(agentID, authToken)) 111 if (!m_AuthenticationService.VerifyUserKey(agentID, authToken))
112 { 112 {
113 m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path); 113 m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path);
114 httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; 114 httpResponse.StatusCode = (int)HttpStatusCode.Forbidden;