Connecting to NTLMv2 from Java\httpclient 3\linux

一个人想着一个人 提交于 2019-12-10 14:28:11

问题


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


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/15409778/connecting-to-ntlmv2-from-java-httpclient-3-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!