Enum AccountStatusNotificationType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACCOUNT_DISABLED
      Indicates that an account status message should be generated whenever a user account has been disabled by an administrator.
      ACCOUNT_ENABLED
      Indicates that an account status message should be generated whenever a user account has been enabled by an administrator.
      ACCOUNT_EXPIRED
      Indicates that an account status message should be generated whenever a user authentication has failed because the account has expired.
      ACCOUNT_IDLE_LOCKED
      Indicates that an account status message should be generated whenever a user account has been locked because it was idle for too long.
      ACCOUNT_PERMANENTLY_LOCKED
      Indicates that an account status message should be generated whenever a user account has been permanently locked after too many failed attempts.
      ACCOUNT_RESET_LOCKED
      Indicates that an account status message should be generated whenever a user account has been locked because it the password had been reset by an administrator but not changed by the user within the required interval.
      ACCOUNT_TEMPORARILY_LOCKED
      Indicates that an account status message should be generated whenever a user account has been temporarily locked after too many failed attempts.
      ACCOUNT_UNLOCKED
      Indicates that an account status message should be generated whenever a user account has been unlocked by an administrator.
      PASSWORD_CHANGED
      Indicates whether an account status notification message should be generated whenever a user changes his/her own password.
      PASSWORD_EXPIRED
      Indicates that an account status notification message should be generated whenever a user authentication has failed because the password has expired.
      PASSWORD_EXPIRING
      Indicates that an account status notification message should be generated the first time that a password expiration warning is encountered for a user password.
      PASSWORD_RESET
      Indicates that an account status notification message should be generated whenever a user's password is reset by an administrator.
    • Enum Constant Detail

      • ACCOUNT_TEMPORARILY_LOCKED

        public static final AccountStatusNotificationType ACCOUNT_TEMPORARILY_LOCKED
        Indicates that an account status message should be generated whenever a user account has been temporarily locked after too many failed attempts.
      • ACCOUNT_PERMANENTLY_LOCKED

        public static final AccountStatusNotificationType ACCOUNT_PERMANENTLY_LOCKED
        Indicates that an account status message should be generated whenever a user account has been permanently locked after too many failed attempts.
      • ACCOUNT_UNLOCKED

        public static final AccountStatusNotificationType ACCOUNT_UNLOCKED
        Indicates that an account status message should be generated whenever a user account has been unlocked by an administrator.
      • ACCOUNT_IDLE_LOCKED

        public static final AccountStatusNotificationType ACCOUNT_IDLE_LOCKED
        Indicates that an account status message should be generated whenever a user account has been locked because it was idle for too long.
      • ACCOUNT_RESET_LOCKED

        public static final AccountStatusNotificationType ACCOUNT_RESET_LOCKED
        Indicates that an account status message should be generated whenever a user account has been locked because it the password had been reset by an administrator but not changed by the user within the required interval.
      • ACCOUNT_DISABLED

        public static final AccountStatusNotificationType ACCOUNT_DISABLED
        Indicates that an account status message should be generated whenever a user account has been disabled by an administrator.
      • ACCOUNT_ENABLED

        public static final AccountStatusNotificationType ACCOUNT_ENABLED
        Indicates that an account status message should be generated whenever a user account has been enabled by an administrator.
      • ACCOUNT_EXPIRED

        public static final AccountStatusNotificationType ACCOUNT_EXPIRED
        Indicates that an account status message should be generated whenever a user authentication has failed because the account has expired.
      • PASSWORD_EXPIRED

        public static final AccountStatusNotificationType PASSWORD_EXPIRED
        Indicates that an account status notification message should be generated whenever a user authentication has failed because the password has expired.
      • PASSWORD_EXPIRING

        public static final AccountStatusNotificationType PASSWORD_EXPIRING
        Indicates that an account status notification message should be generated the first time that a password expiration warning is encountered for a user password.
      • PASSWORD_RESET

        public static final AccountStatusNotificationType PASSWORD_RESET
        Indicates that an account status notification message should be generated whenever a user's password is reset by an administrator.
      • PASSWORD_CHANGED

        public static final AccountStatusNotificationType PASSWORD_CHANGED
        Indicates whether an account status notification message should be generated whenever a user changes his/her own password.
    • Method Detail

      • values

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

        public static AccountStatusNotificationType 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
      • typeForName

        public static AccountStatusNotificationType typeForName​(String name)
        Retrieves the account status notification type with the specified name.
        Parameters:
        name - The name for the account status notification type to retrieve.
        Returns:
        The requested account status notification type, or null if there is no type with the given name.
      • getName

        public String getName()
        Retrieves the name for this account status notification type.
        Returns:
        The name for this account status notification type.