Integrating with Microsoft Active Directory via LDAP
One of the convenient features of Microsoft AD is not only its seamless integration with Microsoft Windows-based network architectures, but also that it can be configured to expose the contents of AD using the LDAP protocol. If you are working in a company that is heavily leveraging Microsoft Windows, it is probable that any LDAP integration you do will be against your AD instance.
Depending on your configuration of Microsoft AD (and the directory administrator’s willingness to configure it to support Spring Security LDAP), you may have a difficult time, not with the authentication and binding process, but with the mapping of AD information to the user’s GrantedAuthority
objects within the Spring Security system.
The sample AD LDAP tree for JBCP calendar corporate within our LDAP browser looks like the following screenshot:
Figure 6.11 – Example of a Microsoft Active Directory...