RE: HttpClient & NTLM-auth

2016-06-10 Thread Mark A. Claassen
Good luck. Just to complete the thought, for the Mac, we created our own CredentialsProvider and did something like this: private static final String DOMAIN_LINE = "Active Directory Domain"; private static final String WORKSTATION_LINE = "Computer Account"; Proc

Re: ManagedNHttpClientConnectionImpl Shutdown Vs. Close

2016-06-10 Thread Poonam Chawla
Hello Oleg, About the shutdown vs close, I highlighted two lines from the log: 2016/06/09 16:30:34:853 EDT [DEBUG] ManagedNHttpClientConnectionImpl - http-outgoing-0 127.0.0.1:54726<->127.0.0.1:53097[ACTIVE][r:w]: Shutdown 2016/06/09 16:30:34:853 EDT [DEBUG] PoolingNHttpClientConnectionManager -

Re: ManagedNHttpClientConnectionImpl Shutdown Vs. Close

2016-06-10 Thread Oleg Kalnichevski
On Fri, 2016-06-10 at 14:15 +, Poonam Chawla wrote: > Hello Oleg, > > > I am using Apache HttpAsycnClient 4.1 and I noticed that the > connections are not released on calling close. > Here is what I am trying to do: (Please note that it is not a > compileable code as I had to remove lines th

Re: How to retrieve server ip of the connected connections

2016-06-10 Thread Singh, Vicky
Thanks! I went ahead with the first implementation. Vicky From: Oleg Kalnichevski Sent: Friday, June 10, 2016 10:55 AM To: httpclient-users@hc.apache.org Subject: Re: How to retrieve server ip of the connected connections On Thu, 2016-06-09 at 19:40 +

Re: How to retrieve server ip of the connected connections

2016-06-10 Thread Oleg Kalnichevski
On Thu, 2016-06-09 at 19:40 +, Vicky Singh wrote: > > > I am using PoolingHttpClientConnectionManager to create connections. I would > like to get what IP address my connections resolve to. Is there a API that I > can use. > I need it for reporting and also to drop connections if I think c

ManagedNHttpClientConnectionImpl Shutdown Vs. Close

2016-06-10 Thread Poonam Chawla
Hello Oleg, I am using Apache HttpAsycnClient 4.1 and I noticed that the connections are not released on calling close. Here is what I am trying to do: (Please note that it is not a compileable code as I had to remove lines that are internal to my company). - Create CloseableHttpAsyncClient Cl

AW: HttpClient & NTLM-auth

2016-06-10 Thread Clemens Wyss DEV
Thanks for the reply. I am not on Windows. Also I have meanwhile come to the conclusion, that the WS endpoint wants to do SPNEGO > CredentialsProvider (started on 3/21/2016) >Proxy Authentication Strategy (started on 4/7/2016) >Proxy with digest authentication (started on 4/11/2016) I will ch