Re: NTLM proxy authentication...

2014-03-22 Thread Oleg Kalnichevski
On Fri, 2014-03-21 at 12:03 -0400, Ray Williams Robinson Valiente wrote: Hi again: Problem is in company proxy configuration I guess. I have tried setting no proxy domain and it worked fine. For some reason HttpClient fails to authenticate when the proxy domain is set (even when I'm pretty

Re: NTLM proxy authentication...

2014-03-21 Thread Ray Williams Robinson Valiente
Hi: Code remains the same, here is the logging output: 2014/03/21 11:43:44:075 EDT [DEBUG] RequestAddCookies - CookieSpec selected: best-match 2014/03/21 11:43:44:105 EDT [DEBUG] RequestAuthCache - Auth cache not set in the context 2014/03/21 11:43:44:106 EDT [DEBUG]

Re: NTLM proxy authentication...

2014-03-21 Thread Ray Williams Robinson Valiente
Hi again: Problem is in company proxy configuration I guess. I have tried setting no proxy domain and it worked fine. For some reason HttpClient fails to authenticate when the proxy domain is set (even when I'm pretty sure it's correct, since it's the same proxy domain I have in cntlm

Re: NTLM proxy authentication...

2014-03-20 Thread Oleg Kalnichevski
On Wed, 2014-03-19 at 14:46 -0400, Ray Williams Robinson Valiente wrote: Hi: I'm a fairly new with HttpClient. I'm trying to test it against a NTLM proxy but I'm getting error 407 over and over again. What should be the correct way to do it? My current code looks like (with proper values

NTLM proxy authentication...

2014-03-19 Thread Ray Williams Robinson Valiente
Hi: I'm a fairly new with HttpClient. I'm trying to test it against a NTLM proxy but I'm getting error 407 over and over again. What should be the correct way to do it? My current code looks like (with proper values for declared constants): import java.io.BufferedReader; import

Re: NTLM proxy authentication is failing with McAfee web gateway proxy server

2013-02-06 Thread Oleg Kalnichevski
Subject: NTLM proxy authentication is failing with McAfee web gateway proxy server To: HttpClient User Discussion httpclient-users@hc.apache.org Hi, We are using HttpClient 4.2.3 to communicate to an internet URL through a proxy server. Proxy server has NTLM authentication integrated

Re: NTLM proxy authentication is failing with McAfee web gateway proxy server

2013-02-06 Thread anir .........
will be kind enough to take a look. Oleg -- Forwarded message -- From: Deepak Mishra dkmishra...@gmail.com Date: Wed, Feb 6, 2013 at 6:27 AM Subject: NTLM proxy authentication is failing with McAfee web gateway proxy server To: HttpClient User Discussion httpclient-users

NTLM proxy authentication is failing with McAfee web gateway proxy server

2013-02-05 Thread Deepak Mishra
Hi, We are using HttpClient 4.2.3 to communicate to an internet URL through a proxy server. Proxy server has NTLM authentication integrated with an Active Directory. We are able to do NTLM authentication with Ubuntu 12.04 Squid proxy server but not able to do NTLM authentication with McAfee

Re: Problems with NTLM proxy authentication and SystemDefaultHttpClient

2012-12-17 Thread Daz DeBoer
On 13 December 2012 09:24, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2012-12-12 at 09:28 -0700, Daz DeBoer wrote: Hi First of all thanks for the great library. As a core Gradle developer, I really appreciate the power and flexibility that comes with HttpClient. (Gradle made the switch

Re: Problems with NTLM proxy authentication and SystemDefaultHttpClient

2012-12-13 Thread Oleg Kalnichevski
On Wed, 2012-12-12 at 09:28 -0700, Daz DeBoer wrote: Hi First of all thanks for the great library. As a core Gradle developer, I really appreciate the power and flexibility that comes with HttpClient. (Gradle made the switch from java.net.URL based downloading to using HttpClient over a year

Problems with NTLM proxy authentication and SystemDefaultHttpClient

2012-12-12 Thread Daz DeBoer
Hi First of all thanks for the great library. As a core Gradle developer, I really appreciate the power and flexibility that comes with HttpClient. (Gradle made the switch from java.net.URL based downloading to using HttpClient over a year ago.) While it seems to work most of the time,

Re: Problems with NTLM proxy authentication and SystemDefaultHttpClient

2012-12-12 Thread Oleg Kalnichevski
On Wed, 2012-12-12 at 09:28 -0700, Daz DeBoer wrote: Hi First of all thanks for the great library. As a core Gradle developer, I really appreciate the power and flexibility that comes with HttpClient. (Gradle made the switch from java.net.URL based downloading to using HttpClient over a year

Re: Issue with NTLM proxy authentication over Https

2012-10-12 Thread anir .........
Thanks For your reply Oleg. I tried out ProxyClient as mentioned by you and it seems to work :). But i get the following lines in as warnings in my log files :- *2012-10-12 16:17:56,539 WARN [http-8443-Processor68] protocol.RequestProxyAuthentication - NEGOTIATE authentication error: Invalid

Re: Issue with NTLM proxy authentication over Https

2012-10-12 Thread sebb
On 12 October 2012 12:10, anir . anir1...@gmail.com wrote: Thanks For your reply Oleg. I tried out ProxyClient as mentioned by you and it seems to work :). But i get the following lines in as warnings in my log files :- *2012-10-12 16:17:56,539 WARN [http-8443-Processor68]

RE: Issue with NTLM proxy authentication over Https

2012-10-12 Thread Oleg Kalnichevski
On Thu, 2012-10-11 at 11:53 -0500, Godbey, David J. (HQ-LM020)[DIGITAL MANAGEMENT INC.] wrote: Oleg, Wow, you have a proxy client? I should give that a look. Anirban: My problem was this: 1. My JAXWS client for the EWS service does not manage authentication because JAXWS itself does not

RE: Issue with NTLM proxy authentication over Https

2012-10-11 Thread Godbey, David J. (HQ-LM020)[DIGITAL MANAGEMENT INC.]
To: httpclient-users@hc.apache.org Subject: Issue with NTLM proxy authentication over Https Hi, I am trying to return a secure socket connection from my code if the authentication through a proxy is successful. My code is something like this :- . *if (tcp.getProxyUser() != null

Re: Issue with NTLM proxy authentication over Https

2012-10-11 Thread anir .........
. Dave -Original Message- From: anir . [mailto:anir1...@gmail.com] Sent: Thursday, October 11, 2012 1:20 AM To: httpclient-users@hc.apache.org Subject: Issue with NTLM proxy authentication over Https Hi, I am trying to return a secure socket connection from my code

Re: Issue with NTLM proxy authentication over Https

2012-10-11 Thread Oleg Kalnichevski
On Thu, 2012-10-11 at 16:44 +0530, anir . wrote: Hi Dave, Thanks for your reply but i can't use the cron job in my present environment . I was looking for some workaround (if any) using httpClient itself. Moreover this is a pretty generalized code for all AuthSchemes and so i don't

RE: Issue with NTLM proxy authentication over Https

2012-10-11 Thread Godbey, David J. (HQ-LM020)[DIGITAL MANAGEMENT INC.]
:07 AM To: HttpClient User Discussion Subject: Re: Issue with NTLM proxy authentication over Https On Thu, 2012-10-11 at 16:44 +0530, anir . wrote: Hi Dave, Thanks for your reply but i can't use the cron job in my present environment . I was looking for some workaround (if any) using

NTLM proxy authentication

2012-03-20 Thread Thomas Vestergaard
Hello, I am having a problem with getting HttpClient to send requests through a proxy demanding NTLM authentication, which I understand should be possible. My code for trying to accomplish this: Credentials credentials; try { credentials = new NTCredentials(proxyUsername,

SV: NTLM proxy authentication

2012-03-20 Thread Thomas Vestergaard
: 20. marts 2012 13:35 Til: httpclient-users@hc.apache.org Emne: NTLM proxy authentication Hello, I am having a problem with getting HttpClient to send requests through a proxy demanding NTLM authentication, which I understand should be possible. My code for trying to accomplish this: Credentials

SV: NTLM proxy authentication

2012-03-20 Thread Thomas Vestergaard
Hi again, Updating to version 4.2-beta1 solved the problem. Best regards, Thomas -Oprindelig meddelelse- Fra: Thomas Vestergaard [mailto:cget...@telenor.dk] Sendt: 20. marts 2012 16:26 Til: HttpClient User Discussion Emne: SV: NTLM proxy authentication Hi, Just to follow up, I got

Re: SV: NTLM proxy authentication

2012-03-20 Thread Oleg Kalnichevski
[mailto:cget...@telenor.dk] Sendt: 20. marts 2012 13:35 Til: httpclient-users@hc.apache.org Emne: NTLM proxy authentication Hello, I am having a problem with getting HttpClient to send requests through a proxy demanding NTLM authentication, which I understand should be possible. My

Re: NTLM Proxy Authentication ISA Server

2009-04-08 Thread pkbharigopal
For additional commands, e-mail: httpclient-users-h...@hc.apache.org -- View this message in context: http://www.nabble.com/NTLM-Proxy-Authentication-ISA-Server-tp22729238p22954363.html Sent from the HttpClient-User mailing list archive at Nabble.com

NTLM Proxy Authentication ISA Server

2009-03-26 Thread pkbharigopal
()); finally release connection.. Regards, hari -- View this message in context: http://www.nabble.com/NTLM-Proxy-Authentication-ISA-Server-tp22729238p22729238.html Sent from the HttpClient-User mailing list archive at Nabble.com

AW: NTLM-Proxy authentication and SSL-target

2008-11-05 Thread Cech. Ulrich
The version of Squid you are using appears broken. The proxy keeps one sending 'Proxy-Connection: close' which is wrong given the fact that NTLM requires a persistent connection in order to function. Hi Oleg, But how can it be explained, that a non-ssl target is handled correct? The wire-log

Re: AW: NTLM-Proxy authentication and SSL-target

2008-11-05 Thread Oleg Kalnichevski
On Wed, 2008-11-05 at 16:17 +0100, Cech. Ulrich wrote: The version of Squid you are using appears broken. The proxy keeps one sending 'Proxy-Connection: close' which is wrong given the fact that NTLM requires a persistent connection in order to function. Hi Oleg, But how can it be

AW: NTLM-Proxy authentication and SSL-target

2008-10-29 Thread Cech. Ulrich
-NT) /ADDRESS /BODY/HTML -Ursprüngliche Nachricht- Von: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 28. Oktober 2008 21:39 An: HttpClient User Discussion Betreff: Re: NTLM-Proxy authentication and SSL-target On Mon, 2008-10-27 at 15:46 +0100, Cech. Ulrich wrote

Re: AW: NTLM-Proxy authentication and SSL-target

2008-10-29 Thread Oleg Kalnichevski
On Wed, 2008-10-29 at 09:17 +0100, Cech. Ulrich wrote: Hi Oleg, Thanks for your reply. Correct, I use the NTLM-support like it is described in the documentation (with jcifs etc.). And that worked fine for no-SSL-targets. Thanks for your help, Ulrich Ulrich, The version of Squid you

Re: NTLM-Proxy authentication and SSL-target

2008-10-28 Thread Oleg Kalnichevski
On Mon, 2008-10-27 at 15:46 +0100, Cech. Ulrich wrote: Hello, I have a problem with SSL target over a proxy. I use the example of the HttpClient-code (4.0 beta), without an SSL-target, everything work fine. But if I change the target to port 443 and https (s. commented line), I receive the

NTLM-Proxy authentication and SSL-target

2008-10-27 Thread Cech. Ulrich
Hello, I have a problem with SSL target over a proxy. I use the example of the HttpClient-code (4.0 beta), without an SSL-target, everything work fine. But if I change the target to port 443 and https (s. commented line), I receive the HTTP/1.0 407 Proxy Authentication Required from the proxy

Re: ntlm proxy authentication question

2008-03-07 Thread John Jamison
to code a simple app that performs NTLM proxy authentication against a proxy server that supports NTLM and basic authentication. It took me some time to determine the correct value for the Domain field in the NTCredentials instance, but decoding the NTLM message 2 structure gave