From 5b06079a832a8aa5775a0fa0c8d3477d41bd361f Mon Sep 17 00:00:00 2001 From: Melanie Date: Sat, 29 Aug 2009 17:49:58 +0100 Subject: Remove a user of the old auth interface --- OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'OpenSim/Server') diff --git a/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs b/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs index 3de2245..c0933a8 100644 --- a/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs +++ b/OpenSim/Server/Handlers/Neighbour/NeighbourHandlers.cs @@ -110,12 +110,13 @@ namespace OpenSim.Server.Handlers.Neighbour httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; return result; } - if (!m_AuthenticationService.VerifyKey(regionID, authToken)) - { - m_log.InfoFormat("[RegionPostHandler]: Authentication failed for neighbour message {0}", path); - httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; - return result; - } + // TODO: Rethink this + //if (!m_AuthenticationService.VerifyKey(regionID, authToken)) + //{ + // m_log.InfoFormat("[RegionPostHandler]: Authentication failed for neighbour message {0}", path); + // httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; + // return result; + //} m_log.DebugFormat("[RegionPostHandler]: Authentication succeeded for {0}", regionID); } -- cgit v1.1 From 07e89075697372303ca6a2434b4a40c3bf04598d Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 30 Aug 2009 03:27:09 +0100 Subject: Remove another IAuthentificationInterface user --- OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'OpenSim/Server') diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 6c0b705..822edcb 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs @@ -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); } -- cgit v1.1