public interface LoginInformationManager
Modifier and Type | Method and Description |
---|---|
int |
getFailedLoginAttemptsCount(@Nullable String userName)
Get number of failed login attempts for user
|
boolean |
incrementFailedCountAndCheckThreshold(@NotNull 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(@Nullable String userName)
Reset number of failed login attempts for user.
|
static final String BEAN_ID
boolean isElevatedSecurityCheckRequired(String userName)
userName
- boolean incrementFailedCountAndCheckThreshold(@NotNull @NotNull String userName) throws IllegalArgumentException
userName
- IllegalArgumentException
- when unable save login attempt to DBint getFailedLoginAttemptsCount(@Nullable @Nullable String userName)
userName
- void resetFailedLoginAttemptsCount(@Nullable @Nullable String userName)
userName
- IllegalArgumentException
- when unable save login attempt to DBCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.