Record Class PasswordChangeResult.CurrentPasswordRejected
java.lang.Object
java.lang.Record
com.svenruppert.jsentinel.credential.change.PasswordChangeResult.CurrentPasswordRejected
- All Implemented Interfaces:
PasswordChangeResult
- Enclosing interface:
PasswordChangeResult
public static record PasswordChangeResult.CurrentPasswordRejected()
extends Record
implements PasswordChangeResult
Re-authentication failed — the supplied current password does not
verify (CWE-620). The store is untouched.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PasswordChangeResult
PasswordChangeResult.Blocked, PasswordChangeResult.Conflict, PasswordChangeResult.CurrentPasswordRejected, PasswordChangeResult.NewPasswordRejected, PasswordChangeResult.NotFound, PasswordChangeResult.SucceededModifier and TypeInterfaceDescriptionstatic final recordThe current lifecycle status forbids credential changes (e.g.static final recordA concurrent password change won the compare-and-swap race.static final recordRe-authentication failed — the supplied current password does not verify (CWE-620).static final recordThe new password violated the input policy (length, control chars, etc.) and was rejected before hashing.static final recordNo credential exists under the supplied username.static final recordPassword successfully changed. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aCurrentPasswordRejectedrecord class. -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CurrentPasswordRejected
public CurrentPasswordRejected()Creates an instance of aCurrentPasswordRejectedrecord 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.
-