简体   繁体   English

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

[英]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用户导入到我们的应用程序中吗? if yes how to do it? 如果是,该怎么办?
  • How to map our existing roles to this users. 如何将我们现有的角色映射到该用户。
  • Do we need a Domain Server to test this feature. 我们是否需要域服务器来测试此功能。 How can we setup . 我们如何设置。 One of my friend advised to install windows 2008 server to achieve the same. 我的一位朋友建议安装Windows 2008 Server来实现相同的目的。 is it really needed ? 真的需要吗?

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.

相关问题 如何将swagger集成到我现有的java项目中? - How to integrate swagger to my existing java project ? 如何在我的网站中集成paypal? Java的 - How do i integrate paypal in my website? Java 将我的 android 应用程序与现有的 POS(销售点)系统集成 - Integrate my android application with existing POS(point of sale) system 如何将网站与Java后端集成? - How to integrate a website with a Java back end? 如何将Facebook登录集成到Java网站 - How to integrate facebook login into java website 如何在Ldap中集成用户权限 - How to integrate User permissions in Ldap 如何在基于Java的自定义Web服务器中集成Windows身份验证(SSO)? - How to integrate windows authentication (SSO) in my custom web server Java based? 如何将基于Rest的Java Web应用程序与okta for sso集成? - How can I integrate my rest based java webapp with okta for sso? 显示我的网站时如何检测用户喜欢的语言,网站基于Java jsp - How do I detect user preferred language when showing my website , website is java jsp based 如何在不使用LDAP的情况下在Java中获取客户端系统的用户名? - How to get Username of client system in java without using LDAP?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM