org.springframework.security.ldap.userdetails
Class InetOrgPerson

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

public class InetOrgPerson
extends Person

UserDetails implementation whose properties are based on a subset of the LDAP schema for inetOrgPerson.

The username will be mapped from the uid attribute by default.

See Also:
Serialized Form

Nested Class Summary
static class InetOrgPerson.Essence
           
 
Constructor Summary
InetOrgPerson()
           
 
Method Summary
 String getCarLicense()
           
 String getDepartmentNumber()
           
 String getDestinationIndicator()
           
 String getDisplayName()
           
 String getEmployeeNumber()
           
 String getHomePhone()
           
 String getHomePostalAddress()
           
 String getInitials()
           
 String getMail()
           
 String getMobile()
           
 String getO()
           
 String getOu()
           
 String getPostalAddress()
           
 String getPostalCode()
           
 String getRoomNumber()
           
 String getStreet()
           
 String getTitle()
           
 String getUid()
           
protected  void populateContext(DirContextAdapter adapter)
           
 
Methods inherited from class org.springframework.security.ldap.userdetails.Person
getCn, getDescription, getSn, getTelephoneNumber
 
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

InetOrgPerson

public InetOrgPerson()
Method Detail

getUid

public String getUid()

getMail

public String getMail()

getEmployeeNumber

public String getEmployeeNumber()

getInitials

public String getInitials()

getDestinationIndicator

public String getDestinationIndicator()

getO

public String getO()

getOu

public String getOu()

getTitle

public String getTitle()

getCarLicense

public String getCarLicense()

getDepartmentNumber

public String getDepartmentNumber()

getDisplayName

public String getDisplayName()

getHomePhone

public String getHomePhone()

getRoomNumber

public String getRoomNumber()

getHomePostalAddress

public String getHomePostalAddress()

getMobile

public String getMobile()

getPostalAddress

public String getPostalAddress()

getPostalCode

public String getPostalCode()

getStreet

public String getStreet()

populateContext

protected void populateContext(DirContextAdapter adapter)
Overrides:
populateContext in class Person