aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMW2008-07-25 17:59:34 +0000
committerMW2008-07-25 17:59:34 +0000
commita7db55717b8faf05a14f0d9b2fa5e4c2db2d1397 (patch)
treefadafb053a678d796acb66330de26ce6c6567737 /OpenSim/Framework
parent* Stop the HasGroupChanged flag being reverted for newly restored prims which... (diff)
downloadopensim-SC_OLD-a7db55717b8faf05a14f0d9b2fa5e4c2db2d1397.zip
opensim-SC_OLD-a7db55717b8faf05a14f0d9b2fa5e4c2db2d1397.tar.gz
opensim-SC_OLD-a7db55717b8faf05a14f0d9b2fa5e4c2db2d1397.tar.bz2
opensim-SC_OLD-a7db55717b8faf05a14f0d9b2fa5e4c2db2d1397.tar.xz
enabled a config option to inventory server to be able to stop it doing the SessionId lookup to the user server. As this ties a inventory server to one userserver/grid.
doing the look up is still enabled by default.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/InventoryConfig.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/InventoryConfig.cs b/OpenSim/Framework/InventoryConfig.cs
index 9f182b3..66719c6 100644
--- a/OpenSim/Framework/InventoryConfig.cs
+++ b/OpenSim/Framework/InventoryConfig.cs
@@ -44,6 +44,7 @@ namespace OpenSim.Framework
44 public string UserRecvKey = String.Empty; 44 public string UserRecvKey = String.Empty;
45 public string UserSendKey = String.Empty; 45 public string UserSendKey = String.Empty;
46 public string UserServerURL = String.Empty; 46 public string UserServerURL = String.Empty;
47 public bool SessionLookUp = true;
47 48
48 public InventoryConfig(string description, string filename) 49 public InventoryConfig(string description, string filename)
49 { 50 {
@@ -71,6 +72,8 @@ namespace OpenSim.Framework
71 "Database Connect String", "", false); 72 "Database Connect String", "", false);
72 configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, 73 configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32,
73 "Http Listener port", DefaultHttpPort.ToString(), false); 74 "Http Listener port", DefaultHttpPort.ToString(), false);
75 configMember.addConfigurationOption("session_lookup", ConfigurationOption.ConfigurationTypes.TYPE_BOOLEAN,
76 "Enable Session lookup security", "True", false);
74 } 77 }
75 78
76 public bool handleIncomingConfiguration(string configuration_key, object configuration_result) 79 public bool handleIncomingConfiguration(string configuration_key, object configuration_result)
@@ -98,6 +101,9 @@ namespace OpenSim.Framework
98 case "http_port": 101 case "http_port":
99 HttpPort = (uint) configuration_result; 102 HttpPort = (uint) configuration_result;
100 break; 103 break;
104 case "session_lookup":
105 SessionLookUp = (bool)configuration_result;
106 break;
101 } 107 }
102 108
103 return true; 109 return true;