diff options
Diffstat (limited to 'OpenSim/Framework/ServiceAuth/ServiceAuth.cs')
-rw-r--r-- | OpenSim/Framework/ServiceAuth/ServiceAuth.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Framework/ServiceAuth/ServiceAuth.cs b/OpenSim/Framework/ServiceAuth/ServiceAuth.cs index 30f5bd6..51012e3 100644 --- a/OpenSim/Framework/ServiceAuth/ServiceAuth.cs +++ b/OpenSim/Framework/ServiceAuth/ServiceAuth.cs | |||
@@ -27,13 +27,16 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | 30 | using System.Reflection; | |
31 | using log4net; | ||
31 | using Nini.Config; | 32 | using Nini.Config; |
32 | 33 | ||
33 | namespace OpenSim.Framework.ServiceAuth | 34 | namespace OpenSim.Framework.ServiceAuth |
34 | { | 35 | { |
35 | public class ServiceAuth | 36 | public class ServiceAuth |
36 | { | 37 | { |
38 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
39 | |||
37 | public static IServiceAuth Create(IConfigSource config, string section) | 40 | public static IServiceAuth Create(IConfigSource config, string section) |
38 | { | 41 | { |
39 | CompoundAuthentication compoundAuth = new CompoundAuthentication(); | 42 | CompoundAuthentication compoundAuth = new CompoundAuthentication(); |
@@ -53,6 +56,9 @@ namespace OpenSim.Framework.ServiceAuth | |||
53 | break; | 56 | break; |
54 | } | 57 | } |
55 | 58 | ||
59 | // foreach (IServiceAuth auth in compoundAuth.GetAuthentors()) | ||
60 | // m_log.DebugFormat("[SERVICE AUTH]: Configured authenticator {0}", auth.Name); | ||
61 | |||
56 | if (compoundAuth.Count > 0) | 62 | if (compoundAuth.Count > 0) |
57 | return compoundAuth; | 63 | return compoundAuth; |
58 | else | 64 | else |