public class LoginAttemptProviderMongodbImpl extends Object implements LoginAttemptProvider<LoginAttemptEntity>
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
LoginAttemptProviderMongodbImpl() |
| Modifier and Type | Method and Description |
|---|---|
LoginAttemptEntity |
findByUsername(String username) |
void |
revokeLoginAttempt(LoginAttemptEntity loginAttempt) |
void |
saveLoginAttempt(LoginAttemptEntity loginAttempt) |
public void saveLoginAttempt(LoginAttemptEntity loginAttempt)
saveLoginAttempt in interface LoginAttemptProvider<LoginAttemptEntity>public LoginAttemptEntity findByUsername(String username)
findByUsername in interface LoginAttemptProvider<LoginAttemptEntity>public void revokeLoginAttempt(LoginAttemptEntity loginAttempt)
revokeLoginAttempt in interface LoginAttemptProvider<LoginAttemptEntity>Copyright © 2018. All rights reserved.