|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface User
The User Object.
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
The Plexus ROLE for this interface. |
| Method Summary | |
|---|---|
void |
addPreviousEncodedPassword(java.lang.String encodedPassword)
Add encoded password to previously passwords in encoded format. |
java.util.Date |
getAccountCreationDate()
Get the Creation Date for this account. |
int |
getCountFailedLoginAttempts()
Get Count of Failed Login Attempts. |
java.lang.String |
getEmail()
Gets the email address for this user. |
java.lang.String |
getEncodedPassword()
Gets the Encoded Password. |
java.lang.String |
getFullName()
Gets the Full Name for this user. |
java.util.Date |
getLastLoginDate()
Get the Last Successful Login Date for this account. |
java.util.Date |
getLastPasswordChange()
Gets the Date of the Last Password Change. |
java.lang.String |
getPassword()
Gets the Raw (unencoded) Password. |
java.util.List |
getPreviousEncodedPasswords()
Gets the list of previous password (in encoded format). |
java.lang.Object |
getPrincipal()
This is the object used to track the user within the provider. |
java.lang.String |
getUsername()
Gets the User Name for this user. |
boolean |
isLocked()
Determines if this user account is locked from use or not. |
boolean |
isPasswordChangeRequired()
Determines if this user account must change their password on next login. |
boolean |
isPermanent()
Gets the flag indicating if this user is a permanent user or not. |
boolean |
isValidated()
Gets the flag indicating if this user has been validated (or not) |
void |
setCountFailedLoginAttempts(int count)
Set the count of failed login attempts. |
void |
setEmail(java.lang.String address)
Sets the email address for this user. |
void |
setEncodedPassword(java.lang.String encodedPassword)
Sets the Encoded Password. |
void |
setFullName(java.lang.String name)
Sets the Full Name for this user. |
void |
setLastLoginDate(java.util.Date date)
Sets the Last Successful Login Date for this account. |
void |
setLastPasswordChange(java.util.Date passwordChangeDate)
Sets the Last Password Change Date. |
void |
setLocked(boolean locked)
Sets the locked state of this account. |
void |
setPassword(java.lang.String rawPassword)
Sets the raw (unencoded) password for this user. |
void |
setPasswordChangeRequired(boolean changeRequired)
Sets the flag to indicate if this user must change their password on next login. |
void |
setPermanent(boolean permanent)
Sets the permanent flag for this user. |
void |
setPreviousEncodedPasswords(java.util.List encodedPasswordList)
Sets the list of previous passwords (in encoded format) |
void |
setUsername(java.lang.String name)
Sets the User Name for this user. |
void |
setValidated(boolean valid)
Sets the flag indicating if this user has been validated (or not) |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
java.lang.Object getPrincipal()
java.lang.String getUsername()
void setUsername(java.lang.String name)
name - the user name.java.lang.String getFullName()
void setFullName(java.lang.String name)
name - the full name.java.lang.String getEmail()
void setEmail(java.lang.String address)
address - the email address.java.lang.String getPassword()
Notes for User Providers
void setPassword(java.lang.String rawPassword)
rawPassword - the raw unencoded password for this user.getPassword()java.lang.String getEncodedPassword()
void setEncodedPassword(java.lang.String encodedPassword)
UserManager process.
encodedPassword - java.util.Date getLastPasswordChange()
void setLastPasswordChange(java.util.Date passwordChangeDate)
UserManager process.
passwordChangeDate - the date that the last password change occured.java.util.List getPreviousEncodedPasswords()
String objects. Represents previous passwords (in encoded format).void setPreviousEncodedPasswords(java.util.List encodedPasswordList)
encodedPasswordList - (list of String objects.) the previously passwords in encoded format.void addPreviousEncodedPassword(java.lang.String encodedPassword)
encodedPassword - the encoded password to add.boolean isPermanent()
void setPermanent(boolean permanent)
permanent - true if permanent.boolean isLocked()
void setLocked(boolean locked)
locked - true if account is to be locked.boolean isPasswordChangeRequired()
void setPasswordChangeRequired(boolean changeRequired)
changeRequired - true if user must change password on next login.boolean isValidated()
void setValidated(boolean valid)
valid - true if validated.int getCountFailedLoginAttempts()
void setCountFailedLoginAttempts(int count)
count - the count of failed login attempts.java.util.Date getAccountCreationDate()
java.util.Date getLastLoginDate()
void setLastLoginDate(java.util.Date date)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||