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:
java.io.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
 java.lang.String[] getCn()
           
 java.lang.String getDescription()
           
 java.lang.String getSn()
           
 java.lang.String getTelephoneNumber()
           
protected  void populateContext(org.springframework.ldap.core.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 java.lang.String getSn()

getCn

public java.lang.String[] getCn()

getDescription

public java.lang.String getDescription()

getTelephoneNumber

public java.lang.String getTelephoneNumber()

populateContext

protected void populateContext(org.springframework.ldap.core.DirContextAdapter adapter)