Class NoOpCompromisedPasswordChecker
java.lang.Object
com.svenruppert.jsentinel.credential.compromised.NoOpCompromisedPasswordChecker
- All Implemented Interfaces:
CompromisedPasswordChecker
public final class NoOpCompromisedPasswordChecker
extends Object
implements CompromisedPasswordChecker
Default
CompromisedPasswordChecker for deployments that
deliberately operate without external breach data.
Every call returns CompromisedPasswordResult.Clean.
This is the sovereign default — the core stays usable in
air-gapped environments, and operators must opt in to the local
blocklist or the optional HIBP module if they want stricter
behaviour.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
check
Description copied from interface:CompromisedPasswordCheckerEvaluates the candidate password.- Specified by:
checkin interfaceCompromisedPasswordChecker- Parameters:
password- caller-owned secret. The implementation must not modify it, log it, or hold a reference past the call.- Returns:
CompromisedPasswordResult.Cleanwhen the password is not known to be breached,CompromisedPasswordResult.Pwnedwhen it matches a known entry, orCompromisedPasswordResult.CheckFailedwhen no verdict could be produced.
-