Interface AbuseDecision
- All Known Implementing Classes:
AbuseDecision.Allow, AbuseDecision.Block, AbuseDecision.Delay, AbuseDecision.RequireAdditionalCheck
public sealed interface AbuseDecision
permits AbuseDecision.Allow, AbuseDecision.Delay, AbuseDecision.Block, AbuseDecision.RequireAdditionalCheck
Progressive reaction returned by
AbuseDetectionService.evaluate(AbuseAttemptContext).
Adapter-neutral, sealed. The adapter (Vaadin / REST / Standalone) maps these decisions to concrete responses, but the perimeter message must stay generic — exact counters / per-dimension specifics never leak (CWE-203).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe attempt may proceed unconditionally.static final recordRefuse the attempt.static final recordHonour the attempt but pause fordelayfirst — a soft brake that slows automated scanners without locking the user out.static final recordRequire step-up authentication / captcha / additional check before the attempt may proceed.