From af6708aba127dc67aa257e8873bc79f21a0f905a Mon Sep 17 00:00:00 2001 From: jbevain Date: Fri, 7 Aug 2009 19:27:22 +0000 Subject: [PATCH] hard code the authentication modules for monotouch git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@139584 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- class/System/System.Net/AuthenticationManager.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/class/System/System.Net/AuthenticationManager.cs b/class/System/System.Net/AuthenticationManager.cs index 5afc54bcac..798448f1e6 100644 --- a/class/System/System.Net/AuthenticationManager.cs +++ b/class/System/System.Net/AuthenticationManager.cs @@ -54,7 +54,11 @@ namespace System.Net return; modules = new ArrayList (); -#if !MONOTOUCH +#if MONOTOUCH + modules.Add (new BasicClient ()); + modules.Add (new DigestClient ()); + modules.Add (new NtlmClient ()); +#else #if NET_2_0 && CONFIGURATION_DEP object cfg = ConfigurationManager.GetSection ("system.net/authenticationModules"); AuthenticationModulesSection s = cfg as AuthenticationModulesSection; -- 2.11.4.GIT