Class LoginAttemptService
- java.lang.Object
-
- com.netgrif.application.engine.auth.service.LoginAttemptService
-
- All Implemented Interfaces:
ILoginAttemptService
@Service public class LoginAttemptService extends java.lang.Object implements ILoginAttemptService
-
-
Constructor Summary
Constructors Constructor Description LoginAttemptService(SecurityLimitsProperties securityLimitsProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBlocked(java.lang.String key)
void
loginFailed(java.lang.String key)
void
loginSucceeded(java.lang.String key)
-
-
-
Constructor Detail
-
LoginAttemptService
public LoginAttemptService(SecurityLimitsProperties securityLimitsProperties)
-
-
Method Detail
-
loginSucceeded
public void loginSucceeded(java.lang.String key)
- Specified by:
loginSucceeded
in interfaceILoginAttemptService
-
loginFailed
public void loginFailed(java.lang.String key)
- Specified by:
loginFailed
in interfaceILoginAttemptService
-
isBlocked
public boolean isBlocked(java.lang.String key)
- Specified by:
isBlocked
in interfaceILoginAttemptService
-
-