Class PasswordWarningImpl

    • Method Detail

      • getTimeBeforeExpiration

        public int getTimeBeforeExpiration()
        Returns the number of seconds before the password will expire.
        Specified by:
        getTimeBeforeExpiration in interface PasswordWarning
        Returns:
        The number of seconds before the password will expire
      • getGraceAuthNsRemaining

        public int getGraceAuthNsRemaining()
        Returns the number of remaining authentications before the account will be locked.
        Specified by:
        getGraceAuthNsRemaining in interface PasswordWarning
        Returns:
        The number of authentications before lockout
      • isChangeAfterReset

        public boolean isChangeAfterReset()
        Returns true, if a password reset is required.
        Specified by:
        isChangeAfterReset in interface PasswordWarning
        Returns:
        True, if a password reset is required