org.acegisecurity.userdetails.ldap
Interface LdapUserDetails

All Superinterfaces:
Serializable, UserDetails
All Known Implementing Classes:
LdapUserDetailsImpl

public interface LdapUserDetails
extends UserDetails

Captures the information for a user's LDAP entry.

Version:
$Id$
Author:
Luke Taylor

Method Summary
 Attributes getAttributes()
          The attributes for the user's entry in the directory (or a subset of them, depending on what was retrieved from the directory)
 Control[] getControls()
          Returns any LDAP response controls (as part of a user authentication process, for example).
 String getDn()
          The DN of the entry for this user's account.
 
Methods inherited from interface org.acegisecurity.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
 

Method Detail

getAttributes

Attributes getAttributes()
The attributes for the user's entry in the directory (or a subset of them, depending on what was retrieved from the directory)

Returns:
the user's attributes, or an empty array if none were obtained, never null.

getControls

Control[] getControls()
Returns any LDAP response controls (as part of a user authentication process, for example).

Returns:
an array of LDAP Control instances, never null

getDn

String getDn()
The DN of the entry for this user's account.

Returns:
the user's DN


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