com.atlassian.jira.bc.security.login
Interface LoginInfo

All Known Implementing Classes:
LoginInfoImpl

public interface LoginInfo

Information about a user's login history

Since:
v4.0.1

Method Summary
 java.lang.Long getCurrentFailedLoginCount()
           
 java.lang.Long getLastFailedLoginTime()
           
 java.lang.Long getLastLoginTime()
           
 java.lang.Long getLoginCount()
           
 java.lang.Long getMaxAuthenticationAttemptsAllowed()
           
 java.lang.Long getPreviousLoginTime()
           
 java.lang.Long getTotalFailedLoginCount()
           
 boolean isElevatedSecurityCheckRequired()
           
 

Method Detail

getLastLoginTime

java.lang.Long getLastLoginTime()
Returns:
a miliseconds UTC time of the last successful login or null if its not been recorded

getPreviousLoginTime

java.lang.Long getPreviousLoginTime()
Returns:
a miliseconds UTC time of the previously successful login or null if its not been recorded

getLastFailedLoginTime

java.lang.Long getLastFailedLoginTime()
Returns:
the date of the last failed login or null if its not known

getLoginCount

java.lang.Long getLoginCount()
Returns:
the number of times a user has logged in or null if its not recorded

getCurrentFailedLoginCount

java.lang.Long getCurrentFailedLoginCount()
Returns:
the number of times the user has failed to login since this value was reset on a sucessful login or null if its not recorded

getTotalFailedLoginCount

java.lang.Long getTotalFailedLoginCount()
Returns:
the number of total number of times the user has failed to login ever or null if its not recorded

getMaxAuthenticationAttemptsAllowed

java.lang.Long getMaxAuthenticationAttemptsAllowed()
Returns:
the maximum number of failed authentication attempts that are allowed for this user or null if its not applicable.

isElevatedSecurityCheckRequired

boolean isElevatedSecurityCheckRequired()
Returns:
true if the user has failed to authenticated more than a certain number of times or the configuration demands that it be done every time. The user will now be required to pass an elevated security check along with user name and password.


Copyright © 2002-2010 Atlassian. All Rights Reserved.