@Transactional @Service public class LoginAttemptService extends Object
| Constructor and Description |
|---|
LoginAttemptService(LoginAttemptRepository loginAttemptRepository) |
| Modifier and Type | Method and Description |
|---|---|
LoginAttempt |
getLoginAttempt(String username) |
void |
resetFailedAttempt(String username) |
Optional<LoginAttempt> |
updateFailedAttempt(String username) |
@Autowired public LoginAttemptService(LoginAttemptRepository loginAttemptRepository)
public Optional<LoginAttempt> updateFailedAttempt(String username)
public void resetFailedAttempt(String username)
@Transactional(readOnly=true) public LoginAttempt getLoginAttempt(String username)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.