namespace System.Net
{
-#if MOONLIGHT
- internal class AuthenticationManager {
-#else
public class AuthenticationManager {
-#endif
static ArrayList modules;
static object locker = new object ();
return;
modules = new ArrayList ();
-#if NET_2_1
- modules.Add (new BasicClient ());
- modules.Add (new DigestClient ());
+#if MOBILE
modules.Add (new NtlmClient ());
-#elif NET_2_0 && CONFIGURATION_DEP
+ modules.Add (new DigestClient ());
+ modules.Add (new BasicClient ());
+#elif CONFIGURATION_DEP
object cfg = ConfigurationManager.GetSection ("system.net/authenticationModules");
AuthenticationModulesSection s = cfg as AuthenticationModulesSection;
if (s != null) {
}
}
+ [MonoTODO]
+ internal static bool OSSupportsExtendedProtection {
+ get {
+ return false;
+ }
+ }
+
internal static void Clear ()
{
EnsureModules ();
if (auth == null)
continue;
- auth.Module = mod;
+ auth.ModuleAuthenticationType = mod.AuthenticationType;
return auth;
}
}
if (auth == null)
continue;
- auth.Module = mod;
+ auth.ModuleAuthenticationType = mod.AuthenticationType;
return auth;
}
}