30 using OpenSim.Server.Base;
31 using OpenSim.Services.Interfaces;
32 using OpenSim.Framework.ServiceAuth;
33 using OpenSim.Framework.Servers.HttpServer;
34 using OpenSim.Server.Handlers.Base;
36 namespace OpenSim.Server.Handlers.Authentication
41 private string m_ConfigName =
"AuthenticationService";
44 base(config, server, configName)
46 if (configName != String.Empty)
47 m_ConfigName = configName;
49 IConfig serverConfig = config.Configs[m_ConfigName];
50 if (serverConfig == null)
51 throw new Exception(String.Format(
"No section '{0}' in config file", m_ConfigName));
53 string authenticationService = serverConfig.GetString(
"LocalServiceModule",
56 if (authenticationService == String.Empty)
57 throw new Exception(
"No AuthenticationService in config file");
59 Object[] args =
new Object[] { config };
62 IServiceAuth auth = ServiceAuth.Create(config, m_ConfigName);
Interface to OpenSimulator's built in HTTP server. Use this to register handlers (http, llsd, xmlrpc, etc.) for given URLs.
Interactive OpenSim region server
AuthenticationServiceConnector(IConfigSource config, IHttpServer server, string configName)