Enum Class AbuseDimension
- All Implemented Interfaces:
Serializable, Comparable<AbuseDimension>, Constable
Counter dimension used by
AbuseDetectionService.
The Konzept §13 calls out a fixed set of axes; this enum names them so policies and audit events stay structural and consistent.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPer-client-address counter — defends against client-level abuse.Process-wide counter — last-resort global ceiling.Per-tenant counter — protects a shared customer slice.Per-username counter — defends against targeted brute force. -
Method Summary
Modifier and TypeMethodDescriptionstatic AbuseDimensionReturns the enum constant of this class with the specified name.static AbuseDimension[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USERNAME
Per-username counter — defends against targeted brute force. -
CLIENT_ADDRESS
Per-client-address counter — defends against client-level abuse. -
TENANT
Per-tenant counter — protects a shared customer slice. -
GLOBAL
Process-wide counter — last-resort global ceiling.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-