org.codehaus.plexus.redback.common.ldap
Class LdapUser
java.lang.Object
org.codehaus.plexus.redback.common.ldap.LdapUser
- All Implemented Interfaces:
- User
public class LdapUser
- extends java.lang.Object
- implements User
| Fields inherited from interface org.codehaus.plexus.redback.users.User |
ROLE |
|
Constructor Summary |
LdapUser()
|
LdapUser(java.lang.String username)
|
LdapUser(java.lang.String username,
java.lang.String fullName,
java.lang.String email)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapUser
public LdapUser(java.lang.String username)
LdapUser
public LdapUser(java.lang.String username,
java.lang.String fullName,
java.lang.String email)
LdapUser
public LdapUser()
addPreviousEncodedPassword
public void addPreviousEncodedPassword(java.lang.String encodedPassword)
- Specified by:
addPreviousEncodedPassword in interface User
getAccountCreationDate
public java.util.Date getAccountCreationDate()
- Specified by:
getAccountCreationDate in interface User
getCountFailedLoginAttempts
public int getCountFailedLoginAttempts()
- Specified by:
getCountFailedLoginAttempts in interface User
getEmail
public java.lang.String getEmail()
- Specified by:
getEmail in interface User
getEncodedPassword
public java.lang.String getEncodedPassword()
- Specified by:
getEncodedPassword in interface User
getFullName
public java.lang.String getFullName()
- Specified by:
getFullName in interface User
getLastLoginDate
public java.util.Date getLastLoginDate()
- Specified by:
getLastLoginDate in interface User
getLastPasswordChange
public java.util.Date getLastPasswordChange()
- Specified by:
getLastPasswordChange in interface User
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword in interface User
getPreviousEncodedPasswords
public java.util.List getPreviousEncodedPasswords()
- Specified by:
getPreviousEncodedPasswords in interface User
getPrincipal
public java.lang.Object getPrincipal()
- Specified by:
getPrincipal in interface User
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername in interface User
isLocked
public boolean isLocked()
- Specified by:
isLocked in interface User
isPasswordChangeRequired
public boolean isPasswordChangeRequired()
- Specified by:
isPasswordChangeRequired in interface User
isPermanent
public boolean isPermanent()
- Specified by:
isPermanent in interface User
isValidated
public boolean isValidated()
- Specified by:
isValidated in interface User
setCountFailedLoginAttempts
public void setCountFailedLoginAttempts(int count)
- Specified by:
setCountFailedLoginAttempts in interface User
setEmail
public void setEmail(java.lang.String address)
- Specified by:
setEmail in interface User
setEncodedPassword
public void setEncodedPassword(java.lang.String encodedPassword)
- Specified by:
setEncodedPassword in interface User
setFullName
public void setFullName(java.lang.String name)
- Specified by:
setFullName in interface User
setLastLoginDate
public void setLastLoginDate(java.util.Date date)
- Specified by:
setLastLoginDate in interface User
setLastPasswordChange
public void setLastPasswordChange(java.util.Date passwordChangeDate)
- Specified by:
setLastPasswordChange in interface User
setLocked
public void setLocked(boolean locked)
- Specified by:
setLocked in interface User
setPassword
public void setPassword(java.lang.String rawPassword)
- Specified by:
setPassword in interface User
setPasswordChangeRequired
public void setPasswordChangeRequired(boolean changeRequired)
- Specified by:
setPasswordChangeRequired in interface User
setPermanent
public void setPermanent(boolean permanent)
- Specified by:
setPermanent in interface User
setPreviousEncodedPasswords
public void setPreviousEncodedPasswords(java.util.List encodedPasswordList)
- Specified by:
setPreviousEncodedPasswords in interface User
setUsername
public void setUsername(java.lang.String name)
- Specified by:
setUsername in interface User
setValidated
public void setValidated(boolean valid)
- Specified by:
setValidated in interface User
getOriginalAttributes
public javax.naming.directory.Attributes getOriginalAttributes()
setOriginalAttributes
public void setOriginalAttributes(javax.naming.directory.Attributes originalAttributes)
Copyright © 2006-2008 Codehaus. All Rights Reserved.