public interface

LoginInfo

com.atlassian.confluence.security.login.LoginInfo

Class Overview

Information about a user's login history

Summary

Public Methods
abstract int getCurrentFailedLoginCount()
Return the number of failed login attempts for the username userName.
abstract Date getLastFailedLoginDate()
abstract Date getLastSuccessfulLoginDate()
abstract int getTotalFailedLoginCount()
abstract boolean requiresElevatedSecurityCheck()
This is called to see whether the user requires an extended security check (such as CAPTCHA)

Public Methods

public abstract int getCurrentFailedLoginCount ()

Return the number of failed login attempts for the username userName.

Returns
  • number of failed login attempts

public abstract Date getLastFailedLoginDate ()

Returns
  • the date of the last failed login or null if its not known

public abstract Date getLastSuccessfulLoginDate ()

Returns
  • the date of the last successful login or null if its not been recorded

public abstract int getTotalFailedLoginCount ()

Returns
  • the number of total number of times the user has failed to login ever or -1 if its not recorded

public abstract boolean requiresElevatedSecurityCheck ()

This is called to see whether the user requires an extended security check (such as CAPTCHA)

Returns
  • true if the user with the user name userName requires an extended security check