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.