aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;