public interface LoginAttemptService
| Modifier and Type | Method and Description |
|---|---|
void |
clearAttempts()
clears all attempts
|
void |
invalidate(String userName)
resets the user attempts
|
boolean |
isBlocked(String userName)
checks if user is blocked
|
boolean |
isUseRemoteAddress()
for external control, if remote address should be used
|
boolean |
isUseUserName()
for external control, if user name should be used
|
void |
loginFailed(String userName)
increments the user attempts
|
void invalidate(String userName)
userName - void loginFailed(String userName)
userName - boolean isBlocked(String userName)
userName - boolean isUseUserName()
boolean isUseRemoteAddress()
void clearAttempts()
Copyright © 2016–2018. All rights reserved.