Interface PasswordInformation



  • public interface PasswordInformation
    Information about user account password.
    • Method Detail

      • getExpirationDate

        java.util.Date getExpirationDate​()
        Get date when password expires.
        Returns:
        expiration date of the password
      • getInvalidLogonAttemptsLimit

        int getInvalidLogonAttemptsLimit​()
        Get allowed number of invalid logon attempts before kernel locks the account.
        Returns:
        allowed number of invalid logon attempts
      • getInvalidLogonAttemptsCount

        int getInvalidLogonAttemptsCount​()
        Get current number of consequent invalid logon attempts.
        Returns:
        current number of consequent invalid logon attempts
      • getLockTimeoutSeconds

        int getLockTimeoutSeconds​()
        Get number of seconds for how long the kernel locks the account after exceeding allowed number of invalid logon attempts.
        Returns:
        number of seconds for how long the kernel locks the account after exceeding allowed number of invalid logon attempts
      • getGraceLogonAttemptsLimit

        int getGraceLogonAttemptsLimit​()
        Get number of allowed logon attempts that kernel tolerates after the password has been expired.
        Returns:
        number of tolerated logon attempts for expired password
      • getGraceLogonAttemptsCount

        int getGraceLogonAttemptsCount​()
        Get current number of tolerated logon attempts since the password has been expired.
        Returns:
        current number of tolerated logon attempts with expired password
      • getUserAccountDisabledReason

        UserAccountDisabledReason getUserAccountDisabledReason​()
        Get reason for account being disabled or null.
        Returns:
        reason for account being disabled or null