Record Class PasswordHistoryDecision.Reused
java.lang.Object
java.lang.Record
com.svenruppert.jsentinel.credential.history.PasswordHistoryDecision.Reused
- All Implemented Interfaces:
PasswordHistoryDecision
- Enclosing interface:
PasswordHistoryDecision
public static record PasswordHistoryDecision.Reused()
extends Record
implements PasswordHistoryDecision
The candidate password matched one of the retained historical
verifiers and must be rejected.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PasswordHistoryDecision
PasswordHistoryDecision.Allowed, PasswordHistoryDecision.ReusedModifier and TypeInterfaceDescriptionstatic final recordThe candidate password did not match any retained historical entry — proceed.static final recordThe candidate password matched one of the retained historical verifiers and must be rejected. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Reused
public Reused()Creates an instance of aReusedrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-