aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/MessageServerConfig.cs
diff options
context:
space:
mode:
authorDiva Canto2009-08-19 00:31:51 -0700
committerDiva Canto2009-08-19 00:31:51 -0700
commit4818d11b9d3f9839a041ade0d0d3c6fd9848026e (patch)
treebb728cdc54bc0bd4dd5c931297a8a6c48357bc7a /OpenSim/Framework/MessageServerConfig.cs
parentA better purge of trash folder. (diff)
parentGraft the REST console onto the message server as well. What a dirty hack! (diff)
downloadopensim-SC_OLD-4818d11b9d3f9839a041ade0d0d3c6fd9848026e.zip
opensim-SC_OLD-4818d11b9d3f9839a041ade0d0d3c6fd9848026e.tar.gz
opensim-SC_OLD-4818d11b9d3f9839a041ade0d0d3c6fd9848026e.tar.bz2
opensim-SC_OLD-4818d11b9d3f9839a041ade0d0d3c6fd9848026e.tar.xz
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Framework/MessageServerConfig.cs')
-rw-r--r--OpenSim/Framework/MessageServerConfig.cs16
1 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Framework/MessageServerConfig.cs b/OpenSim/Framework/MessageServerConfig.cs
index d0ceebc..61e5ea7 100644
--- a/OpenSim/Framework/MessageServerConfig.cs
+++ b/OpenSim/Framework/MessageServerConfig.cs
@@ -46,6 +46,8 @@ namespace OpenSim.Framework
46 public string UserRecvKey = String.Empty; 46 public string UserRecvKey = String.Empty;
47 public string UserSendKey = String.Empty; 47 public string UserSendKey = String.Empty;
48 public string UserServerURL = String.Empty; 48 public string UserServerURL = String.Empty;
49 public string ConsoleUser = String.Empty;
50 public string ConsolePass = String.Empty;
49 51
50 public MessageServerConfig(string description, string filename) 52 public MessageServerConfig(string description, string filename)
51 { 53 {
@@ -88,6 +90,12 @@ namespace OpenSim.Framework
88 "Use SSL? true/false", ConfigSettings.DefaultMessageServerHttpSSL.ToString(), false); 90 "Use SSL? true/false", ConfigSettings.DefaultMessageServerHttpSSL.ToString(), false);
89 m_configMember.addConfigurationOption("published_ip", ConfigurationOption.ConfigurationTypes.TYPE_STRING, 91 m_configMember.addConfigurationOption("published_ip", ConfigurationOption.ConfigurationTypes.TYPE_STRING,
90 "My Published IP Address", "127.0.0.1", false); 92 "My Published IP Address", "127.0.0.1", false);
93 m_configMember.addConfigurationOption("console_user", ConfigurationOption.ConfigurationTypes.TYPE_STRING,
94 "Remote console access user name [Default: disabled]", "0", false);
95
96 m_configMember.addConfigurationOption("console_pass", ConfigurationOption.ConfigurationTypes.TYPE_STRING,
97 "Remote console access password [Default: disabled]", "0", false);
98
91 } 99 }
92 100
93 public bool handleIncomingConfiguration(string configuration_key, object configuration_result) 101 public bool handleIncomingConfiguration(string configuration_key, object configuration_result)
@@ -130,9 +138,15 @@ namespace OpenSim.Framework
130 case "published_ip": 138 case "published_ip":
131 MessageServerIP = (string) configuration_result; 139 MessageServerIP = (string) configuration_result;
132 break; 140 break;
141 case "console_user":
142 ConsoleUser = (string)configuration_result;
143 break;
144 case "console_pass":
145 ConsolePass = (string)configuration_result;
146 break;
133 } 147 }
134 148
135 return true; 149 return true;
136 } 150 }
137 } 151 }
138} \ No newline at end of file 152}