...
Info | ||
---|---|---|
| ||
The reason that |
However, Pentaho's LdapUserDetailsService
requires an LdapUserSearch
for its userSearch
property.
User DN Patterns
Code Block | ||||
---|---|---|---|---|
| ||||
<bean id="authenticator" class="org.acegisecurity.providers.ldap.authenticator.BindAuthenticator">
<constructor-arg>
<ref local="initialDirContextFactory" />
</constructor-arg>
<property name="userDnPatterns">
<list>
<value>{0}@mycompany.com</value>
<!-- and/or -->
<value>domain\{0}</value>
</list>
</property>
</bean>
|
User Searches
The sAMAccountName
attribute should be used as the username in user searches. The searchSubtree
property (which influences the SearchControls) should most likely be true. Otherwise, it searches the specify base plus one level down.
...