IDP metric that counts failed or successful login attempts per user within a rolling time window, for use as a condition in brute-force and account-abuse detection rules. Tracks login timestamps in memory, keyed by username, and evaluates to the number of matching login events (failed or successful, depending on how the metric is configured) still within the configured interval. Failed attempts are identified from the request attribute set by KademiSecurityManager; successful ones from the currently authenticated profile.
Group: IDP Rules
Implements: IDPMetric
Properties
| Property | Returns | Description |
|---|---|---|
| status | String | Human-readable summary of this metric's current in-memory state: how many distinct users are tracked and how many login events are currently counted across all of them. Returns a fixed message when nothing has been recorded yet. |
| title | String | Human-readable summary of this metric's configuration, naming the tracked login result type and the rolling window it counts over. |
Methods
getTitle()
Returns: String
Human-readable summary of this metric's configuration, naming the tracked login result type and the rolling window it counts over.
getStatus()
Returns: String
Human-readable summary of this metric's current in-memory state: how many distinct users are tracked and how many login events are currently counted across all of them. Returns a fixed message when nothing has been recorded yet.