在Java中的Windows身份验证身份验证、Java、Windows

2023-09-06 23:44:19 作者:眉眼如初

我开发一个Java应用程序(在Linux服务器上运行),需要连接到配置为只使用Windows身份验证一个.NET WCF Web服务。它似乎做工精细,当我在我的Windows桌面上运行的应用程序。有没有什么办法让它从Linux服务器工作?

I am developing a java application (running on a Linux server) that needs to connect to a .net WCF web service configured to use Windows authentication only. It seems to work fine when I run the app on my Windows desktop. Is there any way to make it work from the Linux server?

推荐答案

HttpClient的支持 NTLM身份验证的,所以我建议使用。

HttpClient supports NTLM authentication, so I suggest using that.