hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Osipov <micha...@apache.org>
Subject Re: NTLM authentication, disabling "auto lookup" of credentials?
Date Wed, 01 Jul 2015 17:43:58 GMT
Am 2015-07-01 um 17:56 schrieb Morrison, Wes:
> Starting from the example, org.apache.http.examples.client.win.
> ClientWinAuth
> There's a comment starting on line 49 that says:
> // There is no need to provide user credentials // HttpClient will
> attempt to access current user security context through // Windows
> platform specific methods via JNI.
> This works. However, I want to provide credentials explicitly, and
> have it fail if those credentials are not supplied, or are invalid,
> with no fallback to getting credentials from the system.
> I haven't found any documentation showing how to do this. I've looked
> into the code for WinHttpClients, copied the createBuilder method
> into my own class and modified it, like this:

Not available and won't work. The code is experimental and incomplete.
A rewrite won't happen before 5.0 GA.

You might wan't to have a look at my tickets in Apache JIRA.


To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message