The LDAP authentication provider package. Interfaces are provided for
both authentication and retrieval of user roles from an LDAP server.
The main provider class is LdapAuthenticationProvider.
This is configured with an LdapAuthenticator instance and
an LdapAuthoritiesPopulator. The latter is used to obtain the
list of roles for the user.
There are many ways in which an LDAP directory can be configured so this class delegates most of
its responsibilities to two separate strategy interfaces,
LdapAuthenticator and
LdapAuthoritiesPopulator .
LdapAuthenticator
This interface is responsible for performing the user authentication and retrieving
the user's information from the directory.