Package com.sas.lsaf.security.user
Class LoginInfo
java.lang.Object
com.sas.lsaf.security.user.LoginInfo
- All Implemented Interfaces:
Serializable
User account login information that details the last login and how many login attempts have been made for a
user account since the last successful login.
- Since:
- 1.2
- See Also:
-
Constructor Details
-
LoginInfo
Constructor.- Parameters:
lastLogin- the date of the last login of the user account.loginAttempts- the number of login attempts since the last successful login of the user account.
-
-
Method Details
-
getLastLogin
Gets the date of the last login of the user account.- Returns:
- The date of the last login of the user account.
-
getLoginAttempts
public long getLoginAttempts()Gets the number of login attempts since the last successful login of the user account.- Returns:
- The number of login attempts since the last successful login of the user account.
-
hashCode
public int hashCode() -
equals
-
toString
-