在Java中的Windows身份验证 [英] Windows authentication in Java

查看:170
本文介绍了在Java中的Windows身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个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.

这篇关于在Java中的Windows身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆