org.acegisecurity.providers.ldap
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.

Version:
$Id: LdapAuthenticator.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Luke Taylor

Method Summary
 LdapUserDetails authenticate(String username, String password)
          Authenticates as a user and obtains additional user information from the directory.
 

Method Detail

authenticate

LdapUserDetails authenticate(String username,
                             String password)
Authenticates as a user and obtains additional user information from the directory.

Parameters:
username - the user's login name (not their DN).
password - the user's password supplied at login.
Returns:
the details of the successfully authenticated user.


Copyright © 2004-2011 Interface21, Inc. All Rights Reserved.