|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.security.user.LoginInfo
public class LoginInfo
A data transfer object containing information about the last login and how many login attemps have been made for a particular user since their last successful login..
Constructor Summary | |
---|---|
LoginInfo()
Zero-arg constructor. |
Method Summary | |
---|---|
Date |
getLastLogin()
Get the date of the last login of this user. |
long |
getLoginAttempts()
Get the number of login attempts since the last successful login of the user. |
long |
getLoginCount()
Get the number of times this user has logged into the system. |
void |
setLastLogin(Date lastLogin)
Set the date of the last login of this user. |
void |
setLoginAttempts(long loginAttempts)
Set the number of login attempts since the last successful login of the user. |
void |
setLoginCount(long loginCount)
Set the number of times this user has logged into the system. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoginInfo()
Method Detail |
---|
public long getLoginCount()
public void setLoginCount(long loginCount)
loginCount
- he number of times this user has logged into the system.public Date getLastLogin()
public void setLastLogin(Date lastLogin)
lastLogin
- The date of the last login of this user.public long getLoginAttempts()
public void setLoginAttempts(long loginAttempts)
loginAttempts
- the number of login attempts since the last successful login of the user.public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |