O'Reilly logo

Spring Security 3 by Peter Mularien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Advanced LDAP configuration

Once we get beyond the basics of LDAP integration, there's a plethora of additional configuration capability in the Spring Security LDAP module, while still remaining within the security XML namespace style of configuration. These include retrieval of user personal information, additional options for user authentication, and use of LDAP as a UserDetailsService, in conjunction with a standard DaoAuthenticationProvider.

Sample JBCP LDAP users

We've supplied a number of different users in the JBCP Pets LDIF file. The following quick reference chart may help you with the advanced configuration exercises, or in self-exploration. Note that the password of all users, except userwithphone is password.

Username

Role(s)

Password ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required