org.springframework.security.ldap.authentication
Interface LdapAuthenticator

All Known Implementing Classes:
AbstractLdapAuthenticator, BindAuthenticator, PasswordComparisonAuthenticator

public interface LdapAuthenticator

The strategy interface for locating and authenticating an Ldap user.

The LdapAuthenticationProvider calls this interface to authenticate a user and obtain the information for that user from the directory.

See Also:
DefaultLdapAuthoritiesPopulator, UserDetailsServiceLdapAuthoritiesPopulator

Method Summary
 DirContextOperations authenticate(Authentication authentication)
          Authenticates as a user and obtains additional user information from the directory.
 

Method Detail

authenticate

DirContextOperations authenticate(Authentication authentication)
Authenticates as a user and obtains additional user information from the directory.

Parameters:
authentication -
Returns:
the details of the successfully authenticated user.