From a7db55717b8faf05a14f0d9b2fa5e4c2db2d1397 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 25 Jul 2008 17:59:34 +0000 Subject: 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. --- OpenSim/Framework/InventoryConfig.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Framework') 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 public string UserRecvKey = String.Empty; public string UserSendKey = String.Empty; public string UserServerURL = String.Empty; + public bool SessionLookUp = true; public InventoryConfig(string description, string filename) { @@ -71,6 +72,8 @@ namespace OpenSim.Framework "Database Connect String", "", false); configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, "Http Listener port", DefaultHttpPort.ToString(), false); + configMember.addConfigurationOption("session_lookup", ConfigurationOption.ConfigurationTypes.TYPE_BOOLEAN, + "Enable Session lookup security", "True", false); } public bool handleIncomingConfiguration(string configuration_key, object configuration_result) @@ -98,6 +101,9 @@ namespace OpenSim.Framework case "http_port": HttpPort = (uint) configuration_result; break; + case "session_lookup": + SessionLookUp = (bool)configuration_result; + break; } return true; -- cgit v1.1