Merge branch 'ubitwork' into avination
commit
f1a71f544b
|
@ -140,6 +140,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Authentication
|
||||||
public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
|
public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
|
||||||
{
|
{
|
||||||
// Not implemented at the regions
|
// Not implemented at the regions
|
||||||
|
realID = UUID.Zero;
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7785,10 +7785,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
remaining = SetPrimParams((ScenePresence)part, rules);
|
remaining = SetPrimParams((ScenePresence)part, rules);
|
||||||
}
|
}
|
||||||
|
|
||||||
while((object)remaining != null && remaining.Length > 2)
|
while ((object)remaining != null && remaining.Length > 2)
|
||||||
{
|
{
|
||||||
linknumber = remaining.GetLSLIntegerItem(0);
|
linknumber = remaining.GetLSLIntegerItem(0);
|
||||||
rules = remaining.GetSublist(1,-1);
|
rules = remaining.GetSublist(1, -1);
|
||||||
parts.Clear();
|
parts.Clear();
|
||||||
prims = GetLinkParts(linknumber);
|
prims = GetLinkParts(linknumber);
|
||||||
avatars = GetLinkAvatars(linknumber);
|
avatars = GetLinkAvatars(linknumber);
|
||||||
|
@ -7797,6 +7797,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
foreach (ScenePresence p in avatars)
|
foreach (ScenePresence p in avatars)
|
||||||
parts.Add(p);
|
parts.Add(p);
|
||||||
|
|
||||||
|
remaining = null;
|
||||||
foreach (object part in parts)
|
foreach (object part in parts)
|
||||||
{
|
{
|
||||||
if (part is SceneObjectPart)
|
if (part is SceneObjectPart)
|
||||||
|
|
|
@ -65,7 +65,6 @@ namespace OpenSim.Services.AuthenticationService
|
||||||
public string Authenticate(UUID principalID, string password, int lifetime)
|
public string Authenticate(UUID principalID, string password, int lifetime)
|
||||||
{
|
{
|
||||||
UUID realID;
|
UUID realID;
|
||||||
|
|
||||||
return Authenticate(principalID, password, lifetime, out realID);
|
return Authenticate(principalID, password, lifetime, out realID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,6 @@ namespace OpenSim.Services.AuthenticationService
|
||||||
public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
|
public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
|
||||||
{
|
{
|
||||||
realID = UUID.Zero;
|
realID = UUID.Zero;
|
||||||
|
|
||||||
return Authenticate(principalID, password, lifetime);
|
return Authenticate(principalID, password, lifetime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ namespace OpenSim.Services.AuthenticationService
|
||||||
{
|
{
|
||||||
AuthenticationData data = m_Database.Get(principalID);
|
AuthenticationData data = m_Database.Get(principalID);
|
||||||
string result = String.Empty;
|
string result = String.Empty;
|
||||||
|
realID = UUID.Zero;
|
||||||
if (data != null && data.Data != null)
|
if (data != null && data.Data != null)
|
||||||
{
|
{
|
||||||
if (data.Data.ContainsKey("webLoginKey"))
|
if (data.Data.ContainsKey("webLoginKey"))
|
||||||
|
@ -85,7 +86,7 @@ namespace OpenSim.Services.AuthenticationService
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
realID = UUID.Zero;
|
|
||||||
|
|
||||||
if (result == string.Empty)
|
if (result == string.Empty)
|
||||||
{
|
{
|
||||||
|
@ -96,6 +97,8 @@ namespace OpenSim.Services.AuthenticationService
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[AUTH SERVICE]: PrincipalID {0} or its data not found", principalID);
|
m_log.DebugFormat("[AUTH SERVICE]: PrincipalID {0} or its data not found", principalID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,6 +104,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
|
||||||
|
|
||||||
public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
|
public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
|
||||||
{
|
{
|
||||||
|
realID = UUID.Zero;
|
||||||
return Authenticate(principalID, password, lifetime);
|
return Authenticate(principalID, password, lifetime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue