diff options
author | Adam Frisby | 2008-04-21 07:09:17 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-21 07:09:17 +0000 |
commit | fef3b3689492dea63693c964bcdbec9f5137eb5e (patch) | |
tree | 7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Framework/Communications/LoginService.cs | |
parent | * Terrain Module code has been reformatted to comply with guidelines. (diff) | |
download | opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2 opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz |
* Optimised using statements and namespace references across entire project (this took a while to run).
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/LoginService.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index ce8aa23..d656559 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs | |||
@@ -29,21 +29,22 @@ using System; | |||
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.IO; | 31 | using System.IO; |
32 | using System.Reflection; | ||
32 | using System.Text.RegularExpressions; | 33 | using System.Text.RegularExpressions; |
33 | using System.Threading; | 34 | using System.Threading; |
35 | using System.Web; | ||
34 | using libsecondlife; | 36 | using libsecondlife; |
35 | using libsecondlife.StructuredData; | 37 | using libsecondlife.StructuredData; |
38 | using log4net; | ||
36 | using Nwc.XmlRpc; | 39 | using Nwc.XmlRpc; |
37 | |||
38 | using OpenSim.Framework.Communications.Cache; | 40 | using OpenSim.Framework.Communications.Cache; |
39 | using OpenSim.Framework.Console; | ||
40 | using OpenSim.Framework.Statistics; | 41 | using OpenSim.Framework.Statistics; |
41 | 42 | ||
42 | namespace OpenSim.Framework.UserManagement | 43 | namespace OpenSim.Framework.UserManagement |
43 | { | 44 | { |
44 | public abstract class LoginService | 45 | public abstract class LoginService |
45 | { | 46 | { |
46 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 47 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
47 | 48 | ||
48 | protected string m_welcomeMessage = "Welcome to OpenSim"; | 49 | protected string m_welcomeMessage = "Welcome to OpenSim"; |
49 | protected UserManagerBase m_userManager = null; | 50 | protected UserManagerBase m_userManager = null; |
@@ -159,7 +160,7 @@ namespace OpenSim.Framework.UserManagement | |||
159 | { | 160 | { |
160 | webloginkey = new LLUUID((string)requestData["web_login_key"]); | 161 | webloginkey = new LLUUID((string)requestData["web_login_key"]); |
161 | } | 162 | } |
162 | catch (System.Exception e) | 163 | catch (Exception e) |
163 | { | 164 | { |
164 | m_log.InfoFormat( | 165 | m_log.InfoFormat( |
165 | "[LOGIN END]: Bad web_login_key: {0} for user {1} {2}, exception {3}", | 166 | "[LOGIN END]: Bad web_login_key: {0} for user {1} {2}, exception {3}", |
@@ -514,7 +515,7 @@ namespace OpenSim.Framework.UserManagement | |||
514 | statuscode = 301; | 515 | statuscode = 301; |
515 | 516 | ||
516 | string redirectURL = "about:blank?redirect-http-hack=" + | 517 | string redirectURL = "about:blank?redirect-http-hack=" + |
517 | System.Web.HttpUtility.UrlEncode("secondlife:///app/login?first_name=" + firstname + "&last_name=" + | 518 | HttpUtility.UrlEncode("secondlife:///app/login?first_name=" + firstname + "&last_name=" + |
518 | lastname + | 519 | lastname + |
519 | "&location=" + location + "&grid=Other&web_login_key=" + webloginkey.ToString()); | 520 | "&location=" + location + "&grid=Other&web_login_key=" + webloginkey.ToString()); |
520 | //m_log.Info("[WEB]: R:" + redirectURL); | 521 | //m_log.Info("[WEB]: R:" + redirectURL); |