Class PasswordVerificationResult.Matched
java.lang.Object
com.revetsec.password.PasswordVerificationResult
com.revetsec.password.PasswordVerificationResult.Matched
- Enclosing class:
PasswordVerificationResult
@Immutable
public static final class PasswordVerificationResult.Matched
extends PasswordVerificationResult
The submitted complete password matched the selected stored verifier.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class PasswordVerificationResult
PasswordVerificationResult.Matched, PasswordVerificationResult.NotMatched, PasswordVerificationResult.Rejected, PasswordVerificationResult.UnavailableModifier and TypeClassDescriptionstatic final classThe submitted complete password matched the selected stored verifier.static final classThe submitted password did not match.static final classAn input or stored verifier was invalid or unsupported under this operation.static final classWork or a required dependency was unavailable; no password match was established. -
Method Summary
Modifier and TypeMethodDescriptionWhether the application should generate a current-policy hash and atomically replace the exact current credential.Methods inherited from class PasswordVerificationResult
toString
-
Method Details
-
isRehashRecommended
Whether the application should generate a current-policy hash and atomically replace the exact current credential. This method does not perform or establish a write.- Returns:
- whether an upgrade is recommended
- Since:
- 1.0.0
-