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 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 (including the login that started to the current session) or null if its not been recorded
      • getPreviousSuccessfulLoginDate

        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

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