[Mono-bugs] [Bug 73681][Nor] Changed - Problem with HTTPWebRequest Basic authentication and POST
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Mar 2005 09:42:44 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by informatique.internet@fiducial.fr.
http://bugzilla.ximian.com/show_bug.cgi?id=73681
--- shadow/73681 2005-03-17 12:26:42.000000000 -0500
+++ shadow/73681.tmp.14272 2005-03-18 09:42:44.000000000 -0500
@@ -354,6 +354,17 @@
------- Additional Comments From gonzalo@ximian.com 2005-03-17 12:26 -------
I need to know how the code you are using to add values to
CredentialCache.
+
+------- Additional Comments From informatique.internet@fiducial.fr 2005-03-18 09:42 -------
+I'm sorry, it works now, I use this code to fill my credentialcache object
+
+CredentialCache mycredentialCache = new CredentialCache();
+NetworkCredential credentials = new
+NetworkCredential(tbxLogin.Text,tbxPasswd.Text,ConfigurationSettings.AppSettings["Domaine"]);
+mycredentialCache.Add(new Uri(proxy.Url),"NTLM",credentials);
+
+I've changed NTLM to basic and it works...
+but I think there's a bug with NTLM authentication...