On Tue, 2006-10-31 at 14:30 -0800, Jeff Ling wrote: > Hi Oleg, > > Thanks for the response. Could you give me an example of how to properly use > NTLM authentication? > > Thanks, > Jeff >
Jeff, Just adding appropriate authentication credentials to the HttpState should be sufficient. HttpClient will attempt to authenticate against the target site using the given credentials and will return 401 status code in case of authentication failure. You should be using a custom CredentialsProvider only if you want to present an interactive authentication dialog to the user. Hope this helps Oleg > On 10/31/06, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2006-10-31 at 22:17 +0100, Oleg Kalnichevski wrote: > > > > Sorry about multiple emails. > > > > Oleg > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
