This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!