Interface CompromisedPasswordResult
- All Known Implementing Classes:
CompromisedPasswordResult.CheckFailed, CompromisedPasswordResult.Clean, CompromisedPasswordResult.Pwned
public sealed interface CompromisedPasswordResult
permits CompromisedPasswordResult.Clean, CompromisedPasswordResult.Pwned, CompromisedPasswordResult.CheckFailed
Sealed result of a
CompromisedPasswordChecker call.
The result is intentionally not a boolean — the
"compromised vs unknown vs check-failed" trichotomy carries the
information that callers need to apply the operator-configured
failure policy (CWE-203, CWE-209).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe checker could not produce a verdict — network outage, malformed response, timeout, etc.static final recordThe candidate password is not present in the checker's data source.static enumStructured failure reason — never carries password material, URLs or response bodies.static final recordThe candidate password matched a known compromised entry.