aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs
diff options
context:
space:
mode:
authorDiva Canto2014-05-23 17:31:39 -0700
committerDiva Canto2014-05-23 17:31:39 -0700
commitff9da2446583ffd95b42e7ced2a86c2166c993c1 (patch)
treeb775be9cce73a03831bd7d4c23555d844874c093 /OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-ff9da2446583ffd95b42e7ced2a86c2166c993c1.zip
opensim-SC-ff9da2446583ffd95b42e7ced2a86c2166c993c1.tar.gz
opensim-SC-ff9da2446583ffd95b42e7ced2a86c2166c993c1.tar.bz2
opensim-SC-ff9da2446583ffd95b42e7ced2a86c2166c993c1.tar.xz
Added HTTP Authentication also to Groups and offline IM.
Diffstat (limited to 'OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs')
-rw-r--r--OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs
index 5fb3c19..fddda22 100644
--- a/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs
+++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs
@@ -72,13 +72,7 @@ namespace OpenSim.Groups
72 72
73 private void Init(IConfigSource config) 73 private void Init(IConfigSource config)
74 { 74 {
75 IConfig groupsConfig = config.Configs["Groups"]; 75 m_GroupsService = new GroupsServiceRemoteConnector(config);
76 string url = groupsConfig.GetString("GroupsServerURI", string.Empty);
77 if (!Uri.IsWellFormedUriString(url, UriKind.Absolute))
78 throw new Exception(string.Format("[Groups.RemoteConnector]: Malformed groups server URL {0}. Fix it or disable the Groups feature.", url));
79
80 string secret = groupsConfig.GetString("SecretKey", string.Empty);
81 m_GroupsService = new GroupsServiceRemoteConnector(url, secret);
82 m_Scenes = new List<Scene>(); 76 m_Scenes = new List<Scene>();
83 77
84 } 78 }