Interface BruteForceAttackHandler

All Known Implementing Classes:
DefaultBruteForceAttackHandler

public interface BruteForceAttackHandler
Interface for checking brute force attack attempts.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Method registers attempt's timestamp.
    void
    Method resets the counter for the given key
  • Method Details

    • registerAttempt

      boolean registerAttempt(String key)
      Method registers attempt's timestamp.
      Parameters:
      key - that the attempt is registered for
    • resetAttemptCounter

      void resetAttemptCounter(String key)
      Method resets the counter for the given key
      Parameters:
      key - key that attempts counter will be reset