Spring Security Framework

org.springframework.security.userdetails.ldap
Interface LdapUserDetails

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

public interface LdapUserDetails
extends UserDetails

Captures the information for a user's LDAP entry.

Version:
$Id$
Author:
Luke Taylor

Method Summary
 Attributes getAttributes()
          Deprecated. Map additional attributes to user properties in a custom object rather than accessing them here.
 String getDn()
          The DN of the entry for this user's account.
 
Methods inherited from interface org.springframework.security.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
 

Method Detail

getAttributes

Attributes getAttributes()
Deprecated. Map additional attributes to user properties in a custom object rather than accessing them here.

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.

getDn

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

Returns:
the user's DN

Spring Security Framework

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