Class Person
- java.lang.Object
-
- org.springframework.security.ldap.userdetails.LdapUserDetailsImpl
-
- org.springframework.security.ldap.userdetails.Person
-
- All Implemented Interfaces:
java.io.Serializable
,CredentialsContainer
,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
Nested Classes Modifier and Type Class Description static class
Person.Essence
-
Constructor Summary
Constructors Modifier Constructor Description protected
Person()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getCn()
java.lang.String
getDescription()
java.lang.String
getGivenName()
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, eraseCredentials, getAuthorities, getDn, getGraceLoginsRemaining, getPassword, getTimeBeforeExpiration, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString
-
-
-
-
Method Detail
-
getGivenName
public java.lang.String getGivenName()
-
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)
-
-