public interface LoginInformationManager
Modifier and Type | Method and Description |
---|---|
int |
getFailedLoginAttemptsCount(String userName)
Get number of failed login attempts for user
|
boolean |
incrementFailedCountAndCheckThreshold(String userName)
Returns true when CAPTCHA would be required the next time this user authenticates.
|
boolean |
isElevatedSecurityCheckRequired(String userName)
Returns true when CAPTCHA is required for this user.
|
void |
resetFailedLoginAttemptsCount(String userName)
Reset number of failed login attempts for user.
|
static final String BEAN_ID
boolean isElevatedSecurityCheckRequired(String userName)
userName
- boolean incrementFailedCountAndCheckThreshold(@NotNull String userName) throws IllegalArgumentException
userName
- IllegalArgumentException
- when unable save login attempt to DBint getFailedLoginAttemptsCount(@Nullable String userName)
userName
- void resetFailedLoginAttemptsCount(@Nullable String userName)
userName
- IllegalArgumentException
- when unable save login attempt to DBCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.