You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/10/21 13:49:34 UTC

[jira] [Resolved] (HTTPCLIENT-1573) How do I get NTLM to use current user credentials/token?

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1573.
-------------------------------------------
    Resolution: Invalid

@Peter

See
http://hc.apache.org/httpcomponents-client-4.4.x/httpclient-win/examples/org/apache/http/examples/client/win/ClientWinAuth.java

Please in the future post your question to the user list. JIRA is an issue tracker, not a forum

@Karl 
There is a Windows specific module in 4.4 now. Still considered experimental though.

Oleg

> How do I get NTLM to use current user credentials/token?
> --------------------------------------------------------
>
>                 Key: HTTPCLIENT-1573
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1573
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 4.4 Beta1
>         Environment: Windows
>            Reporter: Peter Binney
>            Priority: Minor
>              Labels: ntlm
>
> I want to extend a website monitoring application to support sites using NTLM (aka: Windows Authentication).
> The application is written in Java and uses the HTTPClient/Core 4.2 package, running against sites using basic HTTP authentication and client certificates.
> It runs on Windows servers and I would like it to poll NTLM-secured sites too, using the credentials of the current Windows user - NOT having to supply a name&password to the application.
> I have tried upgrading to both 4.3 and 4.4-beta1 (with httpclient-win-4.4-beta1.jar).
> But I cannot find any way to get the HttpClientBuilder/CloseableHttpClient to use the current user's windows persona.
> Is there a way to do this, or will I have to revert to plan B which is to convert the app to .NET (which I would hate to do!).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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