public class UserPrincipal extends Object implements UserIntf, Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
FailedAttempts |
static int |
MaxIdlePeriod |
static int |
UniquePasswordCount |
| Constructor and Description |
|---|
UserPrincipal()
This sets the context name as "RBS".
|
public static int MaxIdlePeriod
public static int FailedAttempts
public static int UniquePasswordCount
public UserPrincipal()
public int hashCode()
public String getFirstName()
getFirstName in interface UserIntfpublic void setFirstName(String aName)
setFirstName in interface UserIntfpublic String getLastName()
getLastName in interface UserIntfpublic void setLastName(String aName)
setLastName in interface UserIntfpublic String getFullName()
getFullName in interface UserIntfpublic String getCellPhone()
getCellPhone in interface UserIntfpublic void setCellPhone(String aPhone)
setCellPhone in interface UserIntfpublic String getName()
public String getSessionCsrfToken()
public void setSessionCsrfToken(String token)
public String toString()
public int getNumberOfFailedAttempts()
getNumberOfFailedAttempts in interface UserIntfpublic void setNumberOfFailedAttempts(int aNumOfFailedAttempts)
setNumberOfFailedAttempts in interface UserIntfpublic boolean equals(Object anObj)
public String getLoginId()
getLoginId in interface UserIntfpublic void setLoginId(String aLoginId)
setLoginId in interface UserIntfpublic String getPassword()
getPassword in interface UserIntfpublic void setPassword(String aPassword)
setPassword in interface UserIntfpublic Date getLastLogonDate()
getLastLogonDate in interface UserIntfpublic void setLastLogonDate(Date aDate)
setLastLogonDate in interface UserIntfpublic Date getLastPasswordChangedDate()
getLastPasswordChangedDate in interface UserIntfpublic void setLastPasswordChangedDate(Date aDate)
setLastPasswordChangedDate in interface UserIntfpublic void setLogonStatus(boolean aLogonStatus)
setLogonStatus in interface UserIntfpublic boolean isDisabled()
isDisabled in interface UserIntfpublic void setDisabled()
setDisabled in interface UserIntfpublic Date getExpiredDate()
getExpiredDate in interface UserIntfpublic void setExpiredDate(Date anExpiredDate)
setExpiredDate in interface UserIntfpublic boolean isForcedChangedPassword()
isForcedChangedPassword in interface UserIntfpublic void setForcedChangedPassword(boolean aFlag)
setForcedChangedPassword in interface UserIntfpublic boolean isForcedLocked()
isForcedLocked in interface UserIntfpublic void setForcedLocked(boolean aFlag)
setForcedLocked in interface UserIntfpublic boolean isPasswordNeverExpires()
isPasswordNeverExpires in interface UserIntfpublic void setPasswordNeverExpires(boolean aFlag)
setPasswordNeverExpires in interface UserIntfpublic int getNumOfDaysExpired()
getNumOfDaysExpired in interface UserIntfpublic void setNumOfDaysExpired(int aDays)
setNumOfDaysExpired in interface UserIntfpublic int getNumOfdaysNotLogged()
getNumOfdaysNotLogged in interface UserIntfpublic void setNumOfdaysNotLogged(int aDays)
setNumOfdaysNotLogged in interface UserIntfpublic static int getError()
public Date getCreatedDate()
getCreatedDate in interface UserIntfpublic void setCreatedDate(Date val)
setCreatedDate in interface UserIntfpublic Date getChangedDate()
getChangedDate in interface UserIntfpublic void setChangedDate(Date val)
setChangedDate in interface UserIntfpublic void setChangedBy(long changedBy)
setChangedBy in interface UserIntfpublic void setCreatedBy(long createdBy)
setCreatedBy in interface UserIntfpublic long getCreatedBy()
getCreatedBy in interface UserIntfpublic long getChangedBy()
getChangedBy in interface UserIntfpublic Locale getUserLocale()
getUserLocale in interface UserIntfpublic void setUserLocale(Locale anUserLocale)
setUserLocale in interface UserIntfpublic String getDateFormat()
getDateFormat in interface UserIntfpublic String getDateTimeFormat()
getDateTimeFormat in interface UserIntfpublic boolean isValid(String aDatabasePoolName, String aLoginId, String aPassword, boolean aSkipPasswordCheck) throws Exception
public void setPlainTextPassword(String aPassword)
public String getLocation()
getLocation in interface UserIntfpublic void setLocation(String aLocation)
setLocation in interface UserIntfpublic boolean isNewPasswordRequired()
isNewPasswordRequired in interface UserIntfpublic void setNewPasswordRequired(boolean aPasswordRequired)
setNewPasswordRequired in interface UserIntfCopyright © 2020. All rights reserved.