Interface BruteForceAttackHandler

  • All Known Implementing Classes:
    DefaultBruteForceAttackHandler

    public interface BruteForceAttackHandler
    Interface for checking brute force attack attempts.
    • 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