Package com.atlassian.bamboo.user
Class LoginInformationImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.hibernate.HibernateEntityObject
-
- com.atlassian.bamboo.user.LoginInformationImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,LoginInformation
,Cloneable
@Entity public class LoginInformationImpl extends HibernateEntityObject implements LoginInformation
-
-
Field Summary
Fields Modifier and Type Field Description static int
USERNAME_MAX_LENGTH
-
Constructor Summary
Constructors Constructor Description LoginInformationImpl()
LoginInformationImpl(String userName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAuthenticationCount()
@NotNull Date
getLastAuthenticationTimestamp()
@NotNull String
getUserName()
void
incrementAuthAttemptCount()
void
resetAuthAttemptCount()
void
setAuthenticationCount(int authenticationCount)
void
setLastAuthenticationTimestamp(Date lastAuthenticationTimestamp)
void
setUserName(String userName)
-
Methods inherited from class com.atlassian.bamboo.hibernate.HibernateEntityObject
getId, setId
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Field Detail
-
USERNAME_MAX_LENGTH
public static final int USERNAME_MAX_LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LoginInformationImpl
public LoginInformationImpl()
-
LoginInformationImpl
public LoginInformationImpl(String userName)
-
-
Method Detail
-
getUserName
@NotNull public @NotNull String getUserName()
- Specified by:
getUserName
in interfaceLoginInformation
-
getAuthenticationCount
public int getAuthenticationCount()
- Specified by:
getAuthenticationCount
in interfaceLoginInformation
-
getLastAuthenticationTimestamp
@NotNull public @NotNull Date getLastAuthenticationTimestamp()
- Specified by:
getLastAuthenticationTimestamp
in interfaceLoginInformation
-
incrementAuthAttemptCount
public void incrementAuthAttemptCount()
- Specified by:
incrementAuthAttemptCount
in interfaceLoginInformation
-
resetAuthAttemptCount
public void resetAuthAttemptCount()
- Specified by:
resetAuthAttemptCount
in interfaceLoginInformation
-
setUserName
public void setUserName(String userName)
-
setAuthenticationCount
public void setAuthenticationCount(int authenticationCount)
-
setLastAuthenticationTimestamp
public void setLastAuthenticationTimestamp(Date lastAuthenticationTimestamp)
-
-