Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java SpringLDAP配置属性需求_Java_Spring_Authentication_Ldap_Spring Ldap - Fatal编程技术网

Java SpringLDAP配置属性需求

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

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"
  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