November 2017
Intermediate to advanced
542 pages
14h 24m
English
For the first step, authentication against the LDAP directory, a custom authentication provider is wired into AuthenticationManager. The o.s.s.ldap.authentication.LdapAuthenticationProvider interface takes the user's provided credentials and verifies them against the LDAP directory, as illustrated in the following diagram:

We can see that the o.s.s.ldap.authentication.LdapAuthenticator interface defines a delegate to allow the provider to make the authentication request in a customizable way. The implementation that we've implicitly configured to this point, o.s.s.ldap.authentication.BindAuthenticator, attempts ...
Read now
Unlock full access