Prim creation added. Session authentication moved to Gridserver interface.
parent
31209cdab9
commit
06bd7ea167
|
@ -68,6 +68,10 @@ namespace OpenSim
|
||||||
return(user);
|
return(user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// used by the local login server to inform us of new sessions
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="session"></param>
|
||||||
public void AddNewSession(Logon session)
|
public void AddNewSession(Logon session)
|
||||||
{
|
{
|
||||||
lock(this.Sessions)
|
lock(this.Sessions)
|
||||||
|
@ -83,7 +87,6 @@ namespace OpenSim
|
||||||
UUIDBlock RequestUUIDBlock();
|
UUIDBlock RequestUUIDBlock();
|
||||||
RegionInfo[] RequestNeighbours();
|
RegionInfo[] RequestNeighbours();
|
||||||
AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode);
|
AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode);
|
||||||
void AddNewSession(Logon session);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct UUIDBlock
|
public struct UUIDBlock
|
||||||
|
|
|
@ -247,7 +247,7 @@ namespace OpenSim
|
||||||
_login.InventoryFolder = InventoryFolderID;
|
_login.InventoryFolder = InventoryFolderID;
|
||||||
|
|
||||||
//working on local computer so lets add to the gridserver's list of sessions
|
//working on local computer so lets add to the gridserver's list of sessions
|
||||||
this._gridServer.AddNewSession(_login);
|
((GridServer)this._gridServer).AddNewSession(_login);
|
||||||
|
|
||||||
// forward the XML-RPC response to the client
|
// forward the XML-RPC response to the client
|
||||||
writer.WriteLine("HTTP/1.0 200 OK");
|
writer.WriteLine("HTTP/1.0 200 OK");
|
||||||
|
|
Loading…
Reference in New Issue