@Entity public class LoginInformationImpl extends HibernateEntityObject implements LoginInformation
Modifier and Type | Field and Description |
---|---|
static int |
USERNAME_MAX_LENGTH |
Constructor and Description |
---|
LoginInformationImpl() |
LoginInformationImpl(String userName) |
Modifier and Type | Method and Description |
---|---|
int |
getAuthenticationCount() |
Date |
getLastAuthenticationTimestamp() |
String |
getUserName() |
void |
incrementAuthAttemptCount() |
void |
resetAuthAttemptCount() |
void |
setAuthenticationCount(int authenticationCount) |
void |
setLastAuthenticationTimestamp(Date lastAuthenticationTimestamp) |
void |
setUserName(String userName) |
getId, setId
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setId
getId
public static final int USERNAME_MAX_LENGTH
public LoginInformationImpl()
public LoginInformationImpl(String userName)
@NotNull public String getUserName()
getUserName
in interface LoginInformation
public int getAuthenticationCount()
getAuthenticationCount
in interface LoginInformation
@NotNull public Date getLastAuthenticationTimestamp()
getLastAuthenticationTimestamp
in interface LoginInformation
public void incrementAuthAttemptCount()
incrementAuthAttemptCount
in interface LoginInformation
public void resetAuthAttemptCount()
resetAuthAttemptCount
in interface LoginInformation
public void setUserName(String userName)
public void setAuthenticationCount(int authenticationCount)
public void setLastAuthenticationTimestamp(Date lastAuthenticationTimestamp)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.