public class LoginAttemptHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Modifier | Constructor and Description |
|---|---|
protected |
LoginAttemptHelper() |
| Modifier and Type | Method and Description |
|---|---|
static LoginAttempt |
addFailedLoginAttempt(String login,
Integer mandantID) |
static boolean |
checkLoginAttempts(String login,
Integer mandantID) |
static int |
getLockCount() |
static long |
getLockDuration() |
static LoginAttempt |
getLoginAttempts(String login,
Integer mandantID) |
static boolean |
isCacheFullLock() |
static LoginAttempt |
removeLoginAttempts(String login,
Integer mandantID) |
public static LoginAttempt getLoginAttempts(String login, Integer mandantID)
public static LoginAttempt removeLoginAttempts(String login, Integer mandantID)
public static LoginAttempt addFailedLoginAttempt(String login, Integer mandantID)
public static long getLockDuration()
public static int getLockCount()
public static boolean isCacheFullLock()
Copyright © 2016. All rights reserved.