Interface BruteForceAttackHandler
- All Known Implementing Classes:
DefaultBruteForceAttackHandler
public interface BruteForceAttackHandler
Interface for checking brute force attack attempts.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanregisterAttempt(String key) Method registers attempt's timestamp.voidMethod resets the counter for the given key
-
Method Details
-
registerAttempt
Method registers attempt's timestamp.- Parameters:
key- that the attempt is registered for
-
resetAttemptCounter
Method resets the counter for the given key- Parameters:
key- key that attempts counter will be reset
-