aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs
diff options
context:
space:
mode:
authordiva2009-06-17 03:52:39 +0000
committerdiva2009-06-17 03:52:39 +0000
commitce7de3581cd678dd09227bdfde94fefb779f5a86 (patch)
tree2eab5b5424e8463d30cdc918604629fe3fe08cc5 /OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs
parentMoving these nice HG connectors to their homes. (diff)
downloadopensim-SC-ce7de3581cd678dd09227bdfde94fefb779f5a86.zip
opensim-SC-ce7de3581cd678dd09227bdfde94fefb779f5a86.tar.gz
opensim-SC-ce7de3581cd678dd09227bdfde94fefb779f5a86.tar.bz2
opensim-SC-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/Neighbour/NeighbourHandlers.cs')
-rw-r--r--OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs b/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs
index 83fa995..3de2245 100644
--- a/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs
+++ b/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs
@@ -110,7 +110,7 @@ namespace OpenSim.Server.Handlers.Neighbour
110 httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; 110 httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized;
111 return result; 111 return result;
112 } 112 }
113 if (!m_AuthenticationService.VerifyUserKey(regionID, authToken)) 113 if (!m_AuthenticationService.VerifyKey(regionID, authToken))
114 { 114 {
115 m_log.InfoFormat("[RegionPostHandler]: Authentication failed for neighbour message {0}", path); 115 m_log.InfoFormat("[RegionPostHandler]: Authentication failed for neighbour message {0}", path);
116 httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; 116 httpResponse.StatusCode = (int)HttpStatusCode.Forbidden;