Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Spring Active Directory Authentication failure for only few users

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
If tomatoes are a fruit, then ketchup must be a jam. Taste this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic