Java / WebLogic应用程序中的集成Windows身份验证(NTLM)? [英] Integrated Windows Authentication (NTLM) in a Java/WebLogic app?

查看:604
本文介绍了Java / WebLogic应用程序中的集成Windows身份验证(NTLM)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的团队构建了一个WebLogic Intranet站点。用户当前必须输入他们的Active Directory登录名/密码才能访问该站点。

Our team built a WebLogic intranet site. Users currently must type in their Active Directory login/password to access the site.

由于我们的大多数用户已经登录到域,我们希望使用Integrated Windows身份验证,因此用户无需重新输入他们的登录密码。

Since most of our users are already logged in to the domain, we would like to use Integrated Windows Authentication so users do not have to re-type their login password.

我使用Windows / IIS上托管的.NET应用程序完成此操作。但是,这个应用程序是用WebLogic / Java构建的,并且托管在RedHat Linux上。

I have done this with .NET applications hosted on Windows/IIS. However, this app is built in WebLogic/Java and is hosted on RedHat Linux.

是否有可用的分步指南或原型应用程序?

Is there a step-by-step guide or prototype application available?

(请假设我们在Internet Explorer浏览器上标准化了这个问题。)

(Please assume for this question that we are standardized on Internet Explorer browser.)

推荐答案

查看 jcifs 。虽然它的机制已被弃用(它不支持NTLMv2),但它仍在我的项目中工作。您可能必须使用旧版本。
他们建议使用 jespa ,但不是免费的。

Have a look at jcifs. Although its mechanism is deprecated (it does not support NTLMv2) its still working in my projects. You might have to use an older version. They recommend to use jespa, but its not free.

还有 spnego ,它也有一个过滤器。并 tomcatspnego 。但我不知道它们有多容易使用。

There is also spnego, it has a filter too. And tomcatspnego. But I dont know how easy they are to use.

Waffle 看起来也很有趣。

这是另一个答案,其中包含一些细节:使用Java在Linux上对Active Directory进行身份验证

Here is another answer with some details: Authenticating against Active Directory with Java on Linux

到目前为止,我有只使用jcifs,所以我不能告诉你哪个选项最好。 apaches HttpClient 也有一些功能,我用它,但不是网络应用中的SSO。

So far I have only used jcifs, so I can not tell you which other option is the best. Apaches HttpClient also has some capabilities, I used it, but not as SSO in a webapp.

编辑:

我找到了另一个项目: ntlm-authentication-in-java ,但我还没有使用或测试过它。

I found another project: ntlm-authentication-in-java, but I have not used or tested it yet.

这篇关于Java / WebLogic应用程序中的集成Windows身份验证(NTLM)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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