Class LoginAttemptService
- java.lang.Object
-
- org.pentaho.platform.engine.security.LoginAttemptService
-
- All Implemented Interfaces:
org.pentaho.platform.api.security.ILoginAttemptService
public class LoginAttemptService extends Object implements org.pentaho.platform.api.security.ILoginAttemptService
-
-
Constructor Summary
Constructors Constructor Description LoginAttemptService(int maxAttempt, int cacheMinutes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBlocked(String key)
void
loginFailed(String key)
void
loginSucceeded(String key)
-
-
-
Method Detail
-
loginSucceeded
public void loginSucceeded(String key)
- Specified by:
loginSucceeded
in interfaceorg.pentaho.platform.api.security.ILoginAttemptService
-
loginFailed
public void loginFailed(String key)
- Specified by:
loginFailed
in interfaceorg.pentaho.platform.api.security.ILoginAttemptService
-
isBlocked
public boolean isBlocked(String key)
- Specified by:
isBlocked
in interfaceorg.pentaho.platform.api.security.ILoginAttemptService
-
-