Java SpringLDAP配置属性需求
application-security.xml中的默认ldap配置是Java SpringLDAP配置属性需求,java,spring,authentication,ldap,spring-ldap,Java,Spring,Authentication,Ldap,Spring Ldap,application-security.xml中的默认ldap配置是 <ldap-authentication-provider server-ref="ldap_server" group-search-filter="member={0}" group-search-base="ou=groups" user-search-base="ou=users" user-search-filter="uid={0}" group-role-attribute="cn" u
<ldap-authentication-provider
server-ref="ldap_server" group-search-filter="member={0}"
group-search-base="ou=groups" user-search-base="ou=users"
user-search-filter="uid={0}" group-role-attribute="cn"
user-dn-pattern="uid={0},ou=users" />
现在,客户返回时提供了以下详细信息,并表示它适用于其他一些第三方软件:
The current 3rd party setup:
LDAP Hostname - 10.0.1.213
Port - 636
Secure - Yes
Assume this means SSL
RDN (Bind DN / bind user) - %u@%d
LDAP Domain - ORGANIZATION.local
Bind Password - N/A
User Search Base - ou=users,ou=us,dc=ORGANIZATION,dc=local
User Search Scope - subtree
现在我应该问他,我们也需要group
属性吗
据我所知,这些属性是从ldap提取组名、组成员和用户名所必需的,而客户刚刚提供了user
相关属性
我们使用SpringLDAP,这是我第一次使用ldap。如果客户的ldap配置是没有组的单个节点,则可以跳过组属性 参考-19.3.2:
The current 3rd party setup:
LDAP Hostname - 10.0.1.213
Port - 636
Secure - Yes
Assume this means SSL
RDN (Bind DN / bind user) - %u@%d
LDAP Domain - ORGANIZATION.local
Bind Password - N/A
User Search Base - ou=users,ou=us,dc=ORGANIZATION,dc=local
User Search Scope - subtree