Class NoOpLoginCounter
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.NoOpLoginCounter
-
- All Implemented Interfaces:
UnsuccessfulAuthenticationCounter
public class NoOpLoginCounter extends Object implements UnsuccessfulAuthenticationCounter
-
-
Constructor Summary
Constructors Constructor Description NoOpLoginCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getRemainingBlockedTime(String ip)
void
successfulAttempt(String ip)
void
unsuccessfulAttempt(String ip)
-
-
-
Method Detail
-
getRemainingBlockedTime
public long getRemainingBlockedTime(String ip)
- Specified by:
getRemainingBlockedTime
in interfaceUnsuccessfulAuthenticationCounter
-
unsuccessfulAttempt
public void unsuccessfulAttempt(String ip)
- Specified by:
unsuccessfulAttempt
in interfaceUnsuccessfulAuthenticationCounter
-
successfulAttempt
public void successfulAttempt(String ip)
- Specified by:
successfulAttempt
in interfaceUnsuccessfulAuthenticationCounter
-
-