aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs
diff options
context:
space:
mode:
authorJohn Hurliman2010-03-12 13:28:16 -0800
committerJohn Hurliman2010-03-12 13:28:16 -0800
commit9e3cdc4da5483ce0187c7774fa274e99845da232 (patch)
treea42f66beead72d659d4860448354607a7e5fdc7a /OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs
parentFixed SimianGrid connectors to gracefully exit if the required config section... (diff)
downloadopensim-SC_OLD-9e3cdc4da5483ce0187c7774fa274e99845da232.zip
opensim-SC_OLD-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.gz
opensim-SC_OLD-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.bz2
opensim-SC_OLD-9e3cdc4da5483ce0187c7774fa274e99845da232.tar.xz
Fixing the previous patch to work correctly with standalone mode
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs
index 55aca36..0876efb 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs
@@ -76,15 +76,15 @@ namespace OpenSim.Services.Connectors.SimianGrid
76 IConfig assetConfig = source.Configs["AuthenticationService"]; 76 IConfig assetConfig = source.Configs["AuthenticationService"];
77 if (assetConfig == null) 77 if (assetConfig == null)
78 { 78 {
79 m_log.Info("[AUTH CONNECTOR]: AuthenticationService missing from OpenSim.ini, skipping SimianAuthenticationServiceConnector"); 79 m_log.Error("[AUTH CONNECTOR]: AuthenticationService missing from OpenSim.ini");
80 return; 80 throw new Exception("Authentication connector init error");
81 } 81 }
82 82
83 string serviceURI = assetConfig.GetString("AuthenticationServerURI"); 83 string serviceURI = assetConfig.GetString("AuthenticationServerURI");
84 if (String.IsNullOrEmpty(serviceURI)) 84 if (String.IsNullOrEmpty(serviceURI))
85 { 85 {
86 m_log.Error("[AUTH CONNECTOR]: No Server URI named in section AuthenticationService"); 86 m_log.Info("[AUTH CONNECTOR]: No Server URI named in section AuthenticationService, skipping SimianAuthenticationServiceConnector");
87 throw new Exception("Authentication connector init error"); 87 return;
88 } 88 }
89 89
90 m_serverUrl = serviceURI; 90 m_serverUrl = serviceURI;