|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.security.persistence.dao.hibernate.UserLoginInfo
public class UserLoginInfo
Constructor Summary | |
---|---|
UserLoginInfo()
|
|
UserLoginInfo(ConfluenceUser user)
|
|
UserLoginInfo(java.lang.String userName)
Deprecated. since 5.2. See UserLoginInfo(ConfluenceUser) |
Method Summary | |
---|---|
void |
failedLogin(java.util.Date date)
Record a failed login attempt on date . |
int |
getCurrentFailedLoginCount()
Return the number of failed login attempts for the user. |
long |
getId()
|
java.util.Date |
getLastFailedLoginDate()
|
java.util.Date |
getLastSuccessfulLoginDate()
|
java.util.Date |
getPreviousSuccessfulLoginDate()
|
int |
getTotalFailedLoginCount()
|
ConfluenceUser |
getUser()
|
java.lang.String |
getUserName()
Deprecated. since 5.2. See getUser() . |
void |
resetFailedLoginCount()
|
void |
setCurrentFailedLoginCount(int currentFailedLoginCount)
|
void |
setLastFailedLoginDate(java.util.Date lastFailedLoginDate)
|
void |
setLastSuccessfulLoginDate(java.util.Date lastSuccessfulLoginDate)
|
void |
setPreviousSuccessfulLoginDate(java.util.Date previousSuccessfulLoginDate)
|
void |
setTotalFailedLoginCount(int totalFailedLoginCount)
|
void |
successfulLogin(java.util.Date date)
Record a successful login that occurred on date . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserLoginInfo()
@Deprecated public UserLoginInfo(java.lang.String userName)
UserLoginInfo(ConfluenceUser)
userName
- public UserLoginInfo(ConfluenceUser user)
Method Detail |
---|
public void successfulLogin(java.util.Date date)
date
.
date
- public void failedLogin(java.util.Date date)
date
.
date
- public void resetFailedLoginCount()
public java.util.Date getPreviousSuccessfulLoginDate()
getPreviousSuccessfulLoginDate
in interface HistoricalLoginInfo
public long getId()
@Deprecated public java.lang.String getUserName()
getUser()
.
public ConfluenceUser getUser()
public int getCurrentFailedLoginCount()
HistoricalLoginInfo
getCurrentFailedLoginCount
in interface HistoricalLoginInfo
public int getTotalFailedLoginCount()
getTotalFailedLoginCount
in interface HistoricalLoginInfo
public java.util.Date getLastSuccessfulLoginDate()
getLastSuccessfulLoginDate
in interface HistoricalLoginInfo
public java.util.Date getLastFailedLoginDate()
getLastFailedLoginDate
in interface HistoricalLoginInfo
public void setCurrentFailedLoginCount(int currentFailedLoginCount)
public void setTotalFailedLoginCount(int totalFailedLoginCount)
public void setLastSuccessfulLoginDate(java.util.Date lastSuccessfulLoginDate)
public void setPreviousSuccessfulLoginDate(java.util.Date previousSuccessfulLoginDate)
public void setLastFailedLoginDate(java.util.Date lastFailedLoginDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |