Enum ChangePasswordResult

    • Enum Constant Detail

      • tooShort

        public static final ChangePasswordResult tooShort
        New password does not meet minimal lenght requirement.
      • notEnoughDigits

        public static final ChangePasswordResult notEnoughDigits
        New password does not meet minimal number of digits requirement.
      • tooSimilar

        public static final ChangePasswordResult tooSimilar
        New password does not meet maximal percentage of similarity requirement.
      • userAccountIsBeingEdited

        public static final ChangePasswordResult userAccountIsBeingEdited
        User account object is locked by another process.
      • unspecifiedError

        public static final ChangePasswordResult unspecifiedError
        Unspecified error occured.
      • notEnoughNonDigitCharacters

        public static final ChangePasswordResult notEnoughNonDigitCharacters
        New password does not meet minimal number of non-digit characters requirement.
      • tooManySameConsecutiveCharactgers

        public static final ChangePasswordResult tooManySameConsecutiveCharactgers
        New password does not meet maximal number of same consecutive characters requirement.
      • notEnoughSpecialCharacters

        public static final ChangePasswordResult notEnoughSpecialCharacters
        New password does not meet minimal number of special characters requirement.
      • notEnoughtLowerCaseLetters

        public static final ChangePasswordResult notEnoughtLowerCaseLetters
        New password does not meet minimal number of lower case letters requirement.
      • notEnoughtUpperCaseLetters

        public static final ChangePasswordResult notEnoughtUpperCaseLetters
        New password does not meet minimal number of upper case letters requirement.
      • invalidOldPassword

        public static final ChangePasswordResult invalidOldPassword
        Old password was not valid.
      • emptyPasswordIsNotAllowed

        public static final ChangePasswordResult emptyPasswordIsNotAllowed
        Empty new password is not allowed.
    • Method Detail

      • values

        public static ChangePasswordResult[] values​()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ChangePasswordResult c : ChangePasswordResult.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ChangePasswordResult valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null