aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs
diff options
context:
space:
mode:
authorMike Mazur2009-02-16 02:27:43 +0000
committerMike Mazur2009-02-16 02:27:43 +0000
commit5277fc64c07da92014e749be40aa837193a26495 (patch)
tree5351a96ac5d612560dc63d8c8585237d9dc80d27 /OpenSim/Grid/AssetInventoryServer/Plugins/NullAuthenticationPlugin.cs
parent- remove dependency on ExtensionLoader.dll (DBConnString.cs can go) (diff)
downloadopensim-SC_OLD-5277fc64c07da92014e749be40aa837193a26495.zip
opensim-SC_OLD-5277fc64c07da92014e749be40aa837193a26495.tar.gz
opensim-SC_OLD-5277fc64c07da92014e749be40aa837193a26495.tar.bz2
opensim-SC_OLD-5277fc64c07da92014e749be40aa837193a26495.tar.xz
- change AssetInventoryServer config from XML to INI
- convert AssetInventoryServer logging to OpenSim's log4net - updated AssetInventoryServer.ini.example file
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