Ram Pap

Greenhorn
+ Follow
since Jun 16, 2016
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ram Pap

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.
7 years ago