org.springframework.security.ldap.userdetails
Class Person

java.lang.Object
  extended by org.springframework.security.ldap.userdetails.LdapUserDetailsImpl
      extended by org.springframework.security.ldap.userdetails.Person
All Implemented Interfaces:
Serializable, UserDetails, PasswordPolicyData, LdapUserDetails
Direct Known Subclasses:
InetOrgPerson

public class Person
extends LdapUserDetailsImpl

UserDetails implementation whose properties are based on the LDAP schema for Person.

Since:
2.0
See Also:
Serialized Form

Nested Class Summary
static class Person.Essence
           
 
Constructor Summary
protected Person()
           
 
Method Summary
 String[] getCn()
           
 String getDescription()
           
 String getSn()
           
 String getTelephoneNumber()
           
protected  void populateContext(DirContextAdapter adapter)
           
 
Methods inherited from class org.springframework.security.ldap.userdetails.LdapUserDetailsImpl
equals, getAuthorities, getDn, getGraceLoginsRemaining, getPassword, getTimeBeforeExpiration, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Person

protected Person()
Method Detail

getSn

public String getSn()

getCn

public String[] getCn()

getDescription

public String getDescription()

getTelephoneNumber

public String getTelephoneNumber()

populateContext

protected void populateContext(DirContextAdapter adapter)