diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/AuthenticateSessionsLocal.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/AuthenticateSessionsLocal.cs b/OpenSim.RegionServer/AuthenticateSessionsLocal.cs new file mode 100644 index 0000000..ca46355 --- /dev/null +++ b/OpenSim.RegionServer/AuthenticateSessionsLocal.cs | |||
@@ -0,0 +1,30 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Framework.Types; | ||
5 | |||
6 | namespace OpenSim | ||
7 | { | ||
8 | public class AuthenticateSessionsLocal : AuthenticateSessionsBase | ||
9 | { | ||
10 | public AuthenticateSessionsLocal() | ||
11 | { | ||
12 | |||
13 | } | ||
14 | |||
15 | public void AddNewSession(Login loginData) | ||
16 | { | ||
17 | AgentCircuitData agent = new AgentCircuitData(); | ||
18 | agent.AgentID = loginData.Agent; | ||
19 | agent.firstname = loginData.First; | ||
20 | agent.lastname = loginData.Last; | ||
21 | agent.SessionID = loginData.Session; | ||
22 | agent.SecureSessionID = loginData.SecureSession; | ||
23 | agent.circuitcode = loginData.CircuitCode; | ||
24 | agent.BaseFolder = loginData.BaseFolder; | ||
25 | agent.InventoryFolder = loginData.InventoryFolder; | ||
26 | |||
27 | this.AddNewCircuit(agent.circuitcode, agent); | ||
28 | } | ||
29 | } | ||
30 | } | ||