Interface BruteForceAttackHandler
-
- All Known Implementing Classes:
DefaultBruteForceAttackHandler
public interface BruteForceAttackHandlerInterface for checking brute force attack attempts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanregisterAttempt(java.lang.String key)Method registers attempt's timestamp.voidresetAttemptCounter(java.lang.String key)Method resets the counter for the given key
-
-
-
Method Detail
-
registerAttempt
boolean registerAttempt(java.lang.String key)
Method registers attempt's timestamp.- Parameters:
key- that the attempt is registered for
-
resetAttemptCounter
void resetAttemptCounter(java.lang.String key)
Method resets the counter for the given key- Parameters:
key- key that attempts counter will be reset
-
-