aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/AuthenticateSessionsLocal.cs
diff options
context:
space:
mode:
authorMW2007-05-16 17:35:27 +0000
committerMW2007-05-16 17:35:27 +0000
commit1e9a0220e69a62dd45b53753537fb4563e50412c (patch)
treebfe79152761b164dbd437b60dc025aa1f0c8c3fc /OpenSim.RegionServer/AuthenticateSessionsLocal.cs
parent* removed unused new-login.dat (diff)
downloadopensim-SC_OLD-1e9a0220e69a62dd45b53753537fb4563e50412c.zip
opensim-SC_OLD-1e9a0220e69a62dd45b53753537fb4563e50412c.tar.gz
opensim-SC_OLD-1e9a0220e69a62dd45b53753537fb4563e50412c.tar.bz2
opensim-SC_OLD-1e9a0220e69a62dd45b53753537fb4563e50412c.tar.xz
Quite big change to how Sessions/circuits are Authenticated. Seems to work okay but needs a lot more testing.
Diffstat (limited to 'OpenSim.RegionServer/AuthenticateSessionsLocal.cs')
-rw-r--r--OpenSim.RegionServer/AuthenticateSessionsLocal.cs30
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 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenSim.Framework.Types;
5
6namespace 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}