Hi all,
I'm authenticating Jasper Server to Microsoft Active Directory. We have lot of OU in our windows active directory.So we can't put each and every active directories in userDnPatterns.Is there any way to config ldapAuthenticationProvider bean.Current ldapAuthenticationProvider bean config are here.
<bean id="ldapAuthenticationProvider"
class="org.springframework.security.providers.ldap.LdapAuthenticationProvider">
<constructor-arg>
<bean
class="org.springframework.security.providers.ldap.authenticator.BindAuthenticator">
<constructor-arg><ref local="ldapContextSource"/></constructor-arg>
<property name="userDnPatterns">
<list>
<value>CN={0},OU=IT Service Accounts</value>
<value>uid={0},OU=LOITS,OU=IT TRAINEE</value>
</list>
</property>
<property name="userSearch" ref="userSearch"/>
</bean>
</constructor-arg>
</bean>
Is there any way to do that ?
0 Answers:
No answers yet