通过Window登录进行Java/J2ee认证 [英] Java/J2ee Authentication through Window login

查看:76
本文介绍了通过Window登录进行Java/J2ee认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我如何通过Windows企业域登录ID和密码进行用户身份验证...因此,如果用户已经登录,则应用程序不应询问用户名和密码.

Can anyone please tell me how to do user authentication through windows corporate domain login id and password... so if the user is already logged in, the application should not ask for username and password.

整个方案:我们有一个Web应用程序,任何人都可以访问..如果您不在公司网络范围内,请通过saml执行SSO.

Whole Scenario: We have a web application that anyone can access.. if you are outside from the company network- do SSO through saml.

如果用户在公司所在地,请通过计算机的用户名和密码进行身份验证.

If user is on company premises- do the authentication through the machine's username and password.

我希望你明白我的意思..如果您有任何疑问,请让我知道. 注意:Web应用程序是用Java开发的,因此解决方案应使用Java.

I hope you got my point.. please let me know if you have any doubt.. Note : Webapplication is developed in Java... so solution should be in java.

推荐答案

此Oracle 此处).

This Oracle tutorial explains which APIs to use and how. Essentially you need a Java Kerberos integration point. Apache Tomcat has one (if you want to look at how they do it, go here).

Google还将我带到了这个项目,它可能会对您有所帮助.

Google also led me to this project which might help you.

最后看看 Java SSO:针对Active Directory的Kerberos身份验证.

这篇关于通过Window登录进行Java/J2ee认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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