On Fri, 2014-09-12 at 09:42 +0300, Harri T. wrote: > Hi! Could someone provide me with a sample code for accessing NTLMv2 > authenticated service with HttpClient? > > The page https://hc.apache.org/httpcomponents-client-4.3.x/ntlm.html has > only sample code based on JCIFS. > > Harri >
NTLMv2 auth is no different than other auth methods supported by HttpClient http://hc.apache.org/httpcomponents-client-ga/httpclient/examples/org/apache/http/examples/client/ClientAuthentication.java Oner just needs to provide NTCredentials instead of UsernamePasswordCredentials. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org