[英]How to integrate the LDAP system to my existing java based website
We also have a requirement where we needs to associate the LDAP users with our application. 我们也有一个需要将LDAP用户与我们的应用程序关联的要求。
Going through the below link gives me some of the idea. 通过下面的链接可以给我一些想法。 How to build LDAP integration for my web app?
如何为我的Web应用程序建立LDAP集成?
Still some of the questions remains 仍然存在一些问题
Application is basically servlet based application with Ext-js as the front end. 应用程序基本上是以Ext-js为前端的基于servlet的应用程序。 This requirement is particularly for one of the clients.
此要求特别适用于其中一位客户。
Our application is basically a SAAS application with Role Based Access Control system . 我们的应用程序基本上是具有基于角色的访问控制系统的SAAS应用程序。 We have users with different roles Admin,Staff etc with different set of permissions.
我们拥有的用户具有不同的角色Admin,Staff等,并具有不同的权限集。
How do we achieve the same in our application , i mean the authorization part,assuming that authentication is already done with some e "remote authentication" feature already implemented. 我们如何在应用程序中实现相同的目的,我的意思是授权部分,假设已经使用一些已实现的“远程身份验证”功能来完成身份验证。
Do we really need to import these all LDAP users to our application?
我们真的需要将所有这些LDAP用户导入我们的应用程序吗?
No, they're in the LDAP DIT, that's where they should stay. 不,它们在LDAP DIT中,应该留在那里。
if yes how to do it?
如果是,该怎么办?
Don't. 别。
How to map our existing roles to this users.
如何将我们现有的角色映射到该用户。
Add the roles to the LDAP DIT and enrol the users in those roles in the LDAP DIT as appropriate. 将角色添加到LDAP DIT中,并根据需要将用户注册到LDAP DIT中的那些角色中。
Do we need a Domain Server to test this feature.
我们是否需要域服务器来测试此功能。
You need an LDAP server. 您需要一个LDAP服务器。 There are many available.
有很多可用的。
How can we setup.
我们如何设置。
Off topic. 无关。 Try superuser.com.
尝试superuser.com。
One of my friend advised to install windows 2008 server to achieve the same.
我的一位朋友建议安装Windows 2008 Server来实现相同的目的。 Is it really needed ?
真的需要吗?
No, there are many LDAP servers available, see above. 不,有许多可用的LDAP服务器,请参见上文。 Active Directory is just one of those.
Active Directory只是其中之一。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.