com.atlassian.confluence.security.login
Interface HistoricalLoginInfo

All Known Subinterfaces:
LoginInfo
All Known Implementing Classes:
UserLoginInfo

public interface HistoricalLoginInfo

Encapsulates information about the login history of a particular user.

Since:
4.0

Method Summary
 int getCurrentFailedLoginCount()
          Return the number of failed login attempts for the user.
 java.util.Date getLastFailedLoginDate()
           
 java.util.Date getLastSuccessfulLoginDate()
           
 java.util.Date getPreviousSuccessfulLoginDate()
           
 int getTotalFailedLoginCount()
           
 

Method Detail

getCurrentFailedLoginCount

int getCurrentFailedLoginCount()
Return the number of failed login attempts for the user.

Returns:
number of failed login attempts

getTotalFailedLoginCount

int getTotalFailedLoginCount()
Returns:
the number of total number of times the user has failed to login ever or -1 if its not recorded

getLastSuccessfulLoginDate

java.util.Date getLastSuccessfulLoginDate()
Returns:
the date of the last successful login (including the login that started to the current session) or null if its not been recorded

getPreviousSuccessfulLoginDate

java.util.Date getPreviousSuccessfulLoginDate()
Returns:
the date of the previous successful login (not including the login that started the current session) or null if its not been recorded

getLastFailedLoginDate

java.util.Date getLastFailedLoginDate()
Returns:
the date of the last failed login or null if its not known


Copyright © 2003-2014 Atlassian. All Rights Reserved.