Hi,
I have used the below Spring default Active Directory authentication class "ActiveDirectoryLdapAuthenticationProvider". It is working till now for the existing AD users. But, now new username format introduced in our company and they started adding new users with that name format. So, now the AD authentication failing only for the new users only and working for the old users with old username format. If any one came across the same kind of issue (or) any thoughts on identifying what could be the problem/change on Active Directory side would be great helpful.
<beans:bean id="adAuthenticationProvider" class="org.springframework.security.ldap.authentication.ad.ActiveDirectoryLdapAuthenticationProvider">
<beans:constructor-arg value="corp.foo.com" />
<beans:constructor-arg value="ldap://serverhostname:389/" />
<beans:property name="userDetailsContextMapper" ref="myUserDetailsContextMapper" />
</beans:bean>
Thanks,
RamPap.