io.rocketbase.commons.dto.validation.PasswordErrorCodes Maven / Gradle / Ivy
package io.rocketbase.commons.dto.validation;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;
public enum PasswordErrorCodes {
TOO_SHORT("tooShort"),
TOO_LONG("tooLong"),
INSUFFICIENT_LOWERCASE("insufficientLowercase"),
INSUFFICIENT_UPPERCASE("insufficientUppercase"),
INSUFFICIENT_DIGIT("insufficientDigit"),
INSUFFICIENT_SPECIAL("insufficientSpecial"),
INVALID_CURRENT_PASSWORD("invalidCurrentPassword");
@Getter
@JsonValue
private String value;
PasswordErrorCodes(String value) {
this.value = value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy