public class LoginAttemptProviderMemoryImpl extends Object implements LoginAttemptProvider<LoginAttempt>
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
LoginAttemptProviderMemoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanExpiredLoginAttempt() |
LoginAttempt |
findByUsername(String username) |
void |
revokeLoginAttempt(LoginAttempt loginAttempt) |
void |
saveLoginAttempt(LoginAttempt loginAttempt) |
public void saveLoginAttempt(LoginAttempt loginAttempt)
saveLoginAttempt in interface LoginAttemptProvider<LoginAttempt>public LoginAttempt findByUsername(String username)
findByUsername in interface LoginAttemptProvider<LoginAttempt>public void revokeLoginAttempt(LoginAttempt loginAttempt)
revokeLoginAttempt in interface LoginAttemptProvider<LoginAttempt>@Scheduled(cron="0 0/10 * * * ?") public void cleanExpiredLoginAttempt()
Copyright © 2018. All rights reserved.