32 using System.Reflection;
33 using OpenSim.Region.Framework.Interfaces;
34 using OpenSim.Region.Framework.Scenes;
35 using OpenSim.Services.Interfaces;
36 using OpenSim.Services.Connectors;
38 namespace OpenSim.
Region.CoreModules.ServiceConnectorsOut.Authentication
40 [Extension(Path =
"/OpenSim/RegionModules", NodeName =
"RegionModule", Id =
"RemoteAuthenticationServicesConnector")]
44 private static readonly ILog m_log =
46 MethodBase.GetCurrentMethod().DeclaringType);
48 private bool m_Enabled =
false;
50 public Type ReplaceableInterface
57 get {
return "RemoteAuthenticationServicesConnector"; }
62 IConfig moduleConfig = source.Configs[
"Modules"];
63 if (moduleConfig != null)
65 string name = moduleConfig.GetString(
"AuthenticationServices",
"");
68 IConfig userConfig = source.Configs[
"AuthenticationService"];
69 if (userConfig == null)
71 m_log.Error(
"[AUTH CONNECTOR]: AuthenticationService missing from OpenSim.ini");
77 base.Initialise(source);
79 m_log.Info(
"[AUTH CONNECTOR]: Remote Authentication enabled");
void PostInitialise()
This is called exactly once after all the shared region-modules have been instanciated and IRegionMod...
void AddRegion(Scene scene)
This is called whenever a Scene is added. For shared modules, this can happen several times...
override void Initialise(IConfigSource source)
void Close()
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore...
void RegionLoaded(Scene scene)
This will be called once for every scene loaded. In a shared module this will be multiple times in on...
void RemoveRegion(Scene scene)
This is called whenever a Scene is removed. For shared modules, this can happen several times...