使用spring-secutirry-ldap验证API

时间:2018-10-24 13:33:58

标签: ldap spring-security-ldap

我是LDAP新手: 我正在尝试使用spring-security-ldap构建单个注册应用程序 就是要验证我的用户使用不同域请求的API。

API> http:localhost:8080 / rest / api / getProductlist

例如 dn:uid = user1,ou = people,dc = example,dc = com 对象类:顶部 对象类:人 对象类:organizationalPerson 对象类:inetOrgPerson cn:user1康提 sn:康提 uid:user1 userPassword:{SHA} nFCebWjxfaLbHHG1Qk5UU4trbvQ =

dn:uid = user2,ou = people,dc = example,dc = org 对象类:顶部 对象类:人 对象类:organizationalPerson 对象类:inetOrgPerson cn:user2康提 sn:康提 uid:user2 userPassword:{SHA} nFCebWjxfaLbHHG1Qk5UU4trbvQ =

问题: 首先有可能吗? 如果可能的话,如何通过剩余身份验证将ldap服务器与多个基本域集成在一起?

0 个答案:

没有答案