Package de.xima.fc.web
Class LoginAttemptHelper
- java.lang.Object
-
- de.xima.fc.web.LoginAttemptHelper
-
public class LoginAttemptHelper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoginAttemptHelper.ELoginStatus
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Modifier Constructor Description protected
LoginAttemptHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoginAttempt
addFailedLoginAttempt(String login, Long mandantID)
static LoginAttemptHelper.ELoginStatus
checkLoginAttempts(String login, Long mandantID)
static int
getLockCount()
static long
getLockDuration()
static LoginAttempt
getLoginAttempts(String login, Long mandantID)
static int
getMaxLockCount()
static LoginAttempt
removeLoginAttempts(String login, Long mandantID)
-
-
-
Method Detail
-
checkLoginAttempts
public static LoginAttemptHelper.ELoginStatus checkLoginAttempts(String login, Long mandantID)
-
getLoginAttempts
public static LoginAttempt getLoginAttempts(String login, Long mandantID)
-
removeLoginAttempts
public static LoginAttempt removeLoginAttempts(String login, Long mandantID)
-
addFailedLoginAttempt
public static LoginAttempt addFailedLoginAttempt(String login, Long mandantID)
-
getLockDuration
public static long getLockDuration()
-
getLockCount
public static int getLockCount()
-
getMaxLockCount
public static int getMaxLockCount()
-
-