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.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org