I am using MAC and LINUX, java6 and apache http-client 3.1 to connect to sharepoint with NTLM auth.

I connect to ntlm using http://jcifs.samba.org/ and it worked fine until I had to connect to NTLMv2. I tried this http://devsac.blogspot.com/2010/10/supoprt-for-ntlmv2-with-apache.html but it doesnt work for me with NTLMv2,

Is there any way to make my httpclient 3.1 connect to NTLMv2 ? if not, is there a way to connect java to NTLMv2 without httpclient?

thanks

有帮助吗?

解决方案

found an answer, httpclient version 4.2.3 + supports NTLMv2 out of the box

其他提示

I was able to connect to ntlm v2 using httpclient 3.1: http://devsac.blogspot.com/2010/10/supoprt-for-ntlmv2-with-apache.html?showComment=1381849801529#c7263680121593236558

Btw - httpclient 4.x supports ntlm v2 out of the box.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top