Enum PasswordPolicyWarningType

    • Enum Constant Detail

      • TIME_BEFORE_EXPIRATION

        public static final PasswordPolicyWarningType TIME_BEFORE_EXPIRATION
        Indicates the number of seconds before a password will expire.
      • GRACE_LOGINS_REMAINING

        public static final PasswordPolicyWarningType GRACE_LOGINS_REMAINING
        Indicates the remaining number of times a user will be allowed to authenticate with an expired password.
    • Method Detail

      • values

        public static PasswordPolicyWarningType[] 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 (PasswordPolicyWarningType c : PasswordPolicyWarningType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PasswordPolicyWarningType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null