如何将 LDAP 系统集成到我现有的基于 java 的网站

How to integrate the LDAP system to my existing java based website

我们还有一个要求,需要将 LDAP 用户与我们的应用程序相关联。

通过下面的 link 给了我一些想法。 How to build LDAP integration for my web app?

还有一些问题

应用程序基本上是以 Ext-js 作为前端的基于 servlet 的应用程序。 此要求特别适用于其中一位客户。

我们的应用程序基本上是一个具有基于角色的访问控制系统的 SAAS 应用程序。我们有具有不同权限的 Admin、Staff 等不同角色的用户。

我们如何在我们的应用程序中实现相同的功能,我指的是授权部分,假设身份验证已经完成,并且某些 "remote authentication" 功能已经实现。

Do we really need to import these all LDAP users to our application?

不,他们在 LDAP DIT 中,他们应该留在那儿。

if yes how to do it?

不要。

How to map our existing roles to this users.

角色 添加到 LDAP DIT 并根据需要将用户注册到 LDAP DIT 中的这些角色中。

Do we need a Domain Server to test this feature.

您需要一个 LDAP 服务器。有很多可用的。

How can we setup.

题外话。试试 superuser.com.

One of my friend advised to install windows 2008 server to achieve the same. Is it really needed ?

不,有许多可用的 LDAP 服务器,请参见上文。 Active Directory 只是其中之一。