身份验证类型需要用户 Dn 和密码 - None 或不
userDn and Password are needed for autentication type - None or not
正在 Spring MVC 和 JPA 中开发具有 Spring 安全性的应用程序。现在通过 LDAP 集成 OUD(Oracle 统一目录)。如果认证类型是none。是否需要 userDn 和密码
<bean id="contextSource" class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
<constructor-arg value="ldaps://192.168.0.182:1636/o=company"/>
<property name="userDn" value="cn=userid,ou=groups,o=company"/>
<property name="password" value="password"/>
</bean>
我是 LDAP 新手。据我了解,当身份验证类型很简单时,需要 userDn 和 Password。
Pl.help我明白了
你是对的:身份验证类型 none
意味着 so-called 匿名绑定 无需身份验证和使用 public 即可访问 LDAP 目录权利。
通常,这用于将用户名解析为正在登录的用户的完整 可分辨名称 (DN)。DN 通常采用 CN=user,OU=department,O=organization
[=13 的形式=]
对于任何其他身份验证类型,您将需要登录用户的 DN 和凭据。当您访问 Active Directory 时,您也可以使用 user@domain
形式的 用户主体名称 登录。不要鼓励:-/
正在 Spring MVC 和 JPA 中开发具有 Spring 安全性的应用程序。现在通过 LDAP 集成 OUD(Oracle 统一目录)。如果认证类型是none。是否需要 userDn 和密码
<bean id="contextSource" class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
<constructor-arg value="ldaps://192.168.0.182:1636/o=company"/>
<property name="userDn" value="cn=userid,ou=groups,o=company"/>
<property name="password" value="password"/>
</bean>
我是 LDAP 新手。据我了解,当身份验证类型很简单时,需要 userDn 和 Password。
Pl.help我明白了
你是对的:身份验证类型 none
意味着 so-called 匿名绑定 无需身份验证和使用 public 即可访问 LDAP 目录权利。
通常,这用于将用户名解析为正在登录的用户的完整 可分辨名称 (DN)。DN 通常采用 CN=user,OU=department,O=organization
[=13 的形式=]
对于任何其他身份验证类型,您将需要登录用户的 DN 和凭据。当您访问 Active Directory 时,您也可以使用 user@domain
形式的 用户主体名称 登录。不要鼓励:-/