This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm playing with Spring Security 2.0.4 in Spring 2.5. Basically I just want to authenticate users using LDAP.
My configuration is like this:
But in eclipse I get the following error
No setter found for property 'userDn' in class 'org.springframework.security.ldap.DefaultSpringSecurityContextSource' No setter found for property 'password' in class 'org.springframework.security.ldap.DefaultSpringSecurityContextSource'
How am I supposed to configure DefaultSpringSecurityContextSource to work?
How can I set the admin and the password if they are not available in the DefaultSpringSecurityContextSource ??
Thanks for your help on this.
JUST REALIZE THAT I HAD TO ADD THIS TO THE MAVEN POM (Besides the spring security).
You might find it easier to configure LDAP authentication (and Spr Sec itself) using the security namespace support instead of creating beans yourself. It's quite easy, especially for newcomers, to miss a critical bean or bean property when manually wiring the Spr Sec beans.
Author, Spring Security 3 (the Book), Packt Publishing, 2010
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com