Enum Class AbusePattern

java.lang.Object
java.lang.Enum<AbusePattern>
com.svenruppert.jsentinel.credential.abuse.AbusePattern
All Implemented Interfaces:
Serializable, Comparable<AbusePattern>, Constable

public enum AbusePattern extends Enum<AbusePattern>
Named patterns detectable by the AbusePatternMonitor. The vocabulary is fixed so audit sinks and metrics use the same labels everywhere.
  • Enum Constant Details

    • PASSWORD_SPRAYING

      public static final AbusePattern PASSWORD_SPRAYING
      One client (or a narrow set) trying a single password against many usernames in a short window — see Konzept §13.
    • CREDENTIAL_STUFFING

      public static final AbusePattern CREDENTIAL_STUFFING
      Many distinct clients hammering the same username — a stuffing attack with a leaked credential.
    • RESET_ABUSE

      public static final AbusePattern RESET_ABUSE
      A burst of password-reset requests for the same identity or from the same client — automated reset abuse.
  • Method Details

    • values

      public static AbusePattern[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AbusePattern valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null