diff options
author | diva | 2009-06-17 03:52:39 +0000 |
---|---|---|
committer | diva | 2009-06-17 03:52:39 +0000 |
commit | ce7de3581cd678dd09227bdfde94fefb779f5a86 (patch) | |
tree | 2eab5b5424e8463d30cdc918604629fe3fe08cc5 /OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |
parent | Moving these nice HG connectors to their homes. (diff) | |
download | opensim-SC_OLD-ce7de3581cd678dd09227bdfde94fefb779f5a86.zip opensim-SC_OLD-ce7de3581cd678dd09227bdfde94fefb779f5a86.tar.gz opensim-SC_OLD-ce7de3581cd678dd09227bdfde94fefb779f5a86.tar.bz2 opensim-SC_OLD-ce7de3581cd678dd09227bdfde94fefb779f5a86.tar.xz |
Implementation of a simple authentication service + in connector in route to making HGInventory (client access) work in standalone again. This is the refactoring of what was/is there, but done in the new model. Not complete yet, but key authentication works. It should be enough to make HGInventory work again soon.
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 8e4d7d0..6c0b705 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -109,7 +109,7 @@ namespace OpenSim.Server.Handlers.Simulation | |||
109 | httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; | 109 | httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; |
110 | return result; | 110 | return result; |
111 | } | 111 | } |
112 | if (!m_AuthenticationService.VerifyUserKey(agentID, authToken)) | 112 | if (!m_AuthenticationService.VerifyKey(agentID, authToken)) |
113 | { | 113 | { |
114 | m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path); | 114 | m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path); |
115 | httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; | 115 | httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; |