aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs5
-rw-r--r--OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs1
-rw-r--r--OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs1
-rw-r--r--OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs5
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs1
6 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs
index 25ee4c6..d809ac2 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authentication/LocalAuthenticationServiceConnector.cs
@@ -140,6 +140,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Authentication
140 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID) 140 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
141 { 141 {
142 // Not implemented at the regions 142 // Not implemented at the regions
143 realID = UUID.Zero;
143 return string.Empty; 144 return string.Empty;
144 } 145 }
145 146
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index d6aafaf..1433cc9 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7778,10 +7778,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7778 remaining = SetPrimParams((ScenePresence)part, rules); 7778 remaining = SetPrimParams((ScenePresence)part, rules);
7779 } 7779 }
7780 7780
7781 while((object)remaining != null && remaining.Length > 2) 7781 while ((object)remaining != null && remaining.Length > 2)
7782 { 7782 {
7783 linknumber = remaining.GetLSLIntegerItem(0); 7783 linknumber = remaining.GetLSLIntegerItem(0);
7784 rules = remaining.GetSublist(1,-1); 7784 rules = remaining.GetSublist(1, -1);
7785 parts.Clear(); 7785 parts.Clear();
7786 prims = GetLinkParts(linknumber); 7786 prims = GetLinkParts(linknumber);
7787 avatars = GetLinkAvatars(linknumber); 7787 avatars = GetLinkAvatars(linknumber);
@@ -7790,6 +7790,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7790 foreach (ScenePresence p in avatars) 7790 foreach (ScenePresence p in avatars)
7791 parts.Add(p); 7791 parts.Add(p);
7792 7792
7793 remaining = null;
7793 foreach (object part in parts) 7794 foreach (object part in parts)
7794 { 7795 {
7795 if (part is SceneObjectPart) 7796 if (part is SceneObjectPart)
diff --git a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
index 9d12d47..a069838 100644
--- a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
@@ -65,7 +65,6 @@ namespace OpenSim.Services.AuthenticationService
65 public string Authenticate(UUID principalID, string password, int lifetime) 65 public string Authenticate(UUID principalID, string password, int lifetime)
66 { 66 {
67 UUID realID; 67 UUID realID;
68
69 return Authenticate(principalID, password, lifetime, out realID); 68 return Authenticate(principalID, password, lifetime, out realID);
70 } 69 }
71 70
diff --git a/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs b/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
index 47b4fa6..1510168 100644
--- a/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
@@ -63,7 +63,6 @@ namespace OpenSim.Services.AuthenticationService
63 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID) 63 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
64 { 64 {
65 realID = UUID.Zero; 65 realID = UUID.Zero;
66
67 return Authenticate(principalID, password, lifetime); 66 return Authenticate(principalID, password, lifetime);
68 } 67 }
69 68
diff --git a/OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs b/OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs
index 7fbf36d..bbc8470 100644
--- a/OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs
@@ -64,6 +64,7 @@ namespace OpenSim.Services.AuthenticationService
64 { 64 {
65 AuthenticationData data = m_Database.Get(principalID); 65 AuthenticationData data = m_Database.Get(principalID);
66 string result = String.Empty; 66 string result = String.Empty;
67 realID = UUID.Zero;
67 if (data != null && data.Data != null) 68 if (data != null && data.Data != null)
68 { 69 {
69 if (data.Data.ContainsKey("webLoginKey")) 70 if (data.Data.ContainsKey("webLoginKey"))
@@ -85,7 +86,7 @@ namespace OpenSim.Services.AuthenticationService
85 } 86 }
86 } 87 }
87 88
88 realID = UUID.Zero; 89
89 90
90 if (result == string.Empty) 91 if (result == string.Empty)
91 { 92 {
@@ -96,6 +97,8 @@ namespace OpenSim.Services.AuthenticationService
96 { 97 {
97 m_log.DebugFormat("[AUTH SERVICE]: PrincipalID {0} or its data not found", principalID); 98 m_log.DebugFormat("[AUTH SERVICE]: PrincipalID {0} or its data not found", principalID);
98 } 99 }
100
101
99 return result; 102 return result;
100 } 103 }
101 } 104 }
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs
index 331d485..ffae0da 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs
@@ -104,6 +104,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
104 104
105 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID) 105 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
106 { 106 {
107 realID = UUID.Zero;
107 return Authenticate(principalID, password, lifetime); 108 return Authenticate(principalID, password, lifetime);
108 } 109 }
109 110