Package sk.ipesoft.d2000.d2japi
Interface PasswordInformation
-
public interface PasswordInformationInformation about user account password.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetExpirationDate()Get date when password expires.intgetGraceLogonAttemptsCount()Get current number of tolerated logon attempts since the password has been expired.intgetGraceLogonAttemptsLimit()Get number of allowed logon attempts that kernel tolerates after the password has been expired.intgetInvalidLogonAttemptsCount()Get current number of consequent invalid logon attempts.intgetInvalidLogonAttemptsLimit()Get allowed number of invalid logon attempts before kernel locks the account.intgetLockTimeoutSeconds()Get number of seconds for how long the kernel locks the account after exceeding allowed number of invalid logon attempts.UserAccountDisabledReasongetUserAccountDisabledReason()Get reason for account being disabled ornull.
-
-
-
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 ornull.- Returns:
- reason for account being disabled or
null
-
-