| Modifier and Type | Method and Description |
|---|---|
LoginAttempt |
DefaultLoginAttemptManager.create(String username) |
LoginAttempt |
LoginAttemptManager.create(String username)
Init login attempt to specified username
|
LoginAttempt |
DefaultLoginAttemptManager.findByUsername(String username) |
LoginAttempt |
LoginAttemptManager.findByUsername(String username)
Get login attempt by specified username
|
LoginAttempt |
DefaultLoginAttemptManager.increaseAttempt(String username) |
LoginAttempt |
LoginAttemptManager.increaseAttempt(String username)
Increase current attempt for specified username( if no login attempt found, will create one with zero value and increase to 1 )
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LoginAttemptProvider<T extends LoginAttempt> |
| Modifier and Type | Method and Description |
|---|---|
LoginAttempt |
LoginAttemptProviderMemcachedImpl.findByUsername(String username) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoginAttemptProviderMemcachedImpl.revokeLoginAttempt(LoginAttempt loginAttempt) |
void |
LoginAttemptProviderMemcachedImpl.saveLoginAttempt(LoginAttempt loginAttempt) |
| Modifier and Type | Method and Description |
|---|---|
LoginAttempt |
LoginAttemptProviderMemoryImpl.findByUsername(String username) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoginAttemptProviderMemoryImpl.revokeLoginAttempt(LoginAttempt loginAttempt) |
void |
LoginAttemptProviderMemoryImpl.saveLoginAttempt(LoginAttempt loginAttempt) |
| Modifier and Type | Class and Description |
|---|---|
class |
LoginAttemptEntity |
| Modifier and Type | Method and Description |
|---|---|
LoginAttempt |
LoginAttemptProviderRedisImpl.findByUsername(String username) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoginAttemptProviderRedisImpl.revokeLoginAttempt(LoginAttempt loginAttempt) |
void |
LoginAttemptProviderRedisImpl.saveLoginAttempt(LoginAttempt loginAttempt) |
Copyright © 2018. All rights reserved.