org.acegisecurity.ldap
Interface LdapUserSearch

All Known Implementing Classes:
FilterBasedLdapUserSearch

public interface LdapUserSearch

Obtains a user's information from the LDAP directory given a login name.

May be optionally used to configure the LDAP authentication implementation when a more sophisticated approach is required than just using a simple username->DN mapping.

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

Method Summary
 LdapUserDetails searchForUser(String username)
          Locates a single user in the directory and returns the LDAP information for that user.
 

Method Detail

searchForUser

LdapUserDetails searchForUser(String username)
Locates a single user in the directory and returns the LDAP information for that user.

Parameters:
username - the login name supplied to the authentication service.
Returns:
an LdapUserDetailsImpl object containing the user's full DN and requested attributes.


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