All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.rocketbase.commons.dto.validation.PasswordErrorCodes Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
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