diff options
author | Melanie | 2011-11-17 19:04:27 +0000 |
---|---|---|
committer | Melanie | 2011-11-17 19:04:27 +0000 |
commit | 31736b1aac0387e51fe37ea9bab2e2e8c86988b6 (patch) | |
tree | 14fbdc5f9b677185db1fe8080dafe28796c09336 /OpenSim/Services/HypergridService | |
parent | Merge branch 'master' into bigmerge (diff) | |
parent | Stop OdePrim and OdeCharacter insanely overriding set LocalID to set their ow... (diff) | |
download | opensim-SC-31736b1aac0387e51fe37ea9bab2e2e8c86988b6.zip opensim-SC-31736b1aac0387e51fe37ea9bab2e2e8c86988b6.tar.gz opensim-SC-31736b1aac0387e51fe37ea9bab2e2e8c86988b6.tar.bz2 opensim-SC-31736b1aac0387e51fe37ea9bab2e2e8c86988b6.tar.xz |
Merge branch 'master' into bigmerge
Conflicts:
OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
Diffstat (limited to 'OpenSim/Services/HypergridService')
-rw-r--r-- | OpenSim/Services/HypergridService/GatekeeperService.cs | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 9385b8d..e26383f 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs | |||
@@ -335,22 +335,21 @@ namespace OpenSim.Services.HypergridService | |||
335 | } | 335 | } |
336 | 336 | ||
337 | if (userURL == m_ExternalName) | 337 | if (userURL == m_ExternalName) |
338 | { | ||
338 | return m_UserAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID); | 339 | return m_UserAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID); |
340 | } | ||
339 | else | 341 | else |
340 | { | 342 | { |
341 | // Object[] args = new Object[] { userURL }; | ||
342 | IUserAgentService userAgentService = new UserAgentServiceConnector(userURL); | 343 | IUserAgentService userAgentService = new UserAgentServiceConnector(userURL); |
343 | if (userAgentService != null) | 344 | |
345 | try | ||
344 | { | 346 | { |
345 | try | 347 | return userAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID); |
346 | { | 348 | } |
347 | return userAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID); | 349 | catch |
348 | } | 350 | { |
349 | catch | 351 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Unable to contact authentication service at {0}", userURL); |
350 | { | 352 | return false; |
351 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Unable to contact authentication service at {0}", userURL); | ||
352 | return false; | ||
353 | } | ||
354 | } | 353 | } |
355 | } | 354 | } |
356 | 355 | ||