aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs')
-rw-r--r--OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs
index ccb21b0..92caa04 100644
--- a/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs
+++ b/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs
@@ -28,13 +28,16 @@
28 */ 28 */
29 29
30using System; 30using System;
31using System.Reflection;
31using OpenMetaverse; 32using OpenMetaverse;
32using OpenSim.Framework; 33using OpenSim.Framework;
34using log4net;
33 35
34namespace OpenSim.Grid.AssetInventoryServer.Plugins 36namespace OpenSim.Grid.AssetInventoryServer.Plugins
35{ 37{
36 public class NullAuthenticationPlugin : IAuthenticationProvider 38 public class NullAuthenticationPlugin : IAuthenticationProvider
37 { 39 {
40 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
38 AssetInventoryServer server; 41 AssetInventoryServer server;
39 42
40 public NullAuthenticationPlugin() 43 public NullAuthenticationPlugin()
@@ -47,7 +50,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins
47 { 50 {
48 this.server = server; 51 this.server = server;
49 52
50 Logger.Log.Info("[ASSET] Null Authentication loaded."); 53 m_log.Info("[ASSET] Null Authentication loaded.");
51 } 54 }
52 55
53 /// <summary> 56 /// <summary>
@@ -55,7 +58,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins
55 /// </summary> 58 /// </summary>
56 public void Initialise() 59 public void Initialise()
57 { 60 {
58 Logger.Log.InfoFormat("[ASSET]: {0} cannot be default-initialized!", Name); 61 m_log.InfoFormat("[ASSET]: {0} cannot be default-initialized!", Name);
59 throw new PluginNotInitialisedException(Name); 62 throw new PluginNotInitialisedException(Name);
60 } 63 }
61 64