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.
 Date getLastFailedLoginDate()
           
 Date getLastSuccessfulLoginDate()
           
 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

Date getLastSuccessfulLoginDate()
Returns:
the date of the last successful login or null if its not been recorded

getPreviousSuccessfulLoginDate

Date getPreviousSuccessfulLoginDate()
Returns:
the date of the previous successful login or null if its not been recorded

getLastFailedLoginDate

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.