Hi all,

I am developing a server-side application, where different users (each
one has his own credentials) make http requests against a remote server.

I am using Apache HTTPClient in the server side (let's call it 'A') to
make the actual HTTP Requests against another remote server (let's call
it B).

The authentication method of server 'B' is NTLM.

My problem is that NTLM authenticate a connection, and therefore, after
one user makes an HTTP request using one connection, the connection is
authenticated with his credentials and the next user that gets this
pooled connection will use an authenticated connection that is populated
with the first user credentials.

 

I think that the way to solve this problem should be by having the
HttpConnectionManager, on some cases, maintain pools by host and user
credentials, and not only by host.

One of the problems is that this requires changes to the API of
HttpConnectionManager.

Does any one have an idea of how to handle this annoying issue?

Regards, 

Roei Erez.

 

 

 

Reply via email to