小编use*_*169的帖子

Http post 请求取消 NTLM 身份验证(java)

我尝试在 Java 中使用 NTLM 身份验证发送 HttpRest 调用。我尝试使用org.apache.http图书馆。使用 HttpClient 发送带有匿名身份验证的 Post 请求并不是什么大问题。但是我在使用 WindowsAuthentication 时遇到了一些麻烦。我什至尝试将 CredentialProvider 与我自己的 Windows 凭据一起使用(作为妥协,我也不喜欢那样)但我没有成功。

是否有使用 NTLM 身份验证从 Java 代码发送 post 请求的简单方法?

是否有另一个库更适合我的需求?

rest ntlm http http-post windows-authentication

2
推荐指数
1
解决办法
9572
查看次数

标签 统计

http ×1

http-post ×1

ntlm ×1

rest ×1

windows-authentication ×1