问题描述
我真的需要帮助。我搜索了很长时间了这一点。我想提出一个servlet(应用程序部署在OC4J),这将允许进入用户登录的域(活动目录)无任何提示的登录名和密码。是否有可能以检索在servlet的:通过getRemoteUser和getUserPrincipal方法的用户名没有身份验证的形式?或做其他的方式,我需要什么?
i really need help. I'm searching for this from a very long time. I would like to make a servlet (application deployed on OC4J ) which will allow to enter users logged in domain (Active Directory) without any prompt for login and password. Is it possible to retrive in servlet : user name via getRemoteUser or getUserPrincipal methods without authentication form? Or other way of doing that what i need?
推荐答案
您需要配置什么OC4J称之为Windows本地认证,作为的。这不仅仅是调用特定的功能更多的工作 - 你必须配置Active Directory和OC4J第一
You need to configure what OC4J calls 'Windows Native Authentication', as described in the OC4J Security Guide. It's a bit more work than just calling a particular function - you have to configure Active Directory and OC4J first.
这篇关于Java Web应用程序与OC4J服务器上的活动direcotry整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!