Package sk.ipesoft.d2000.d2japi
Interface PasswordInformation
-
public interface PasswordInformation
Information about user account password.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Date
getExpirationDate()
Get date when password expires.int
getGraceLogonAttemptsCount()
Get current number of tolerated logon attempts since the password has been expired.int
getGraceLogonAttemptsLimit()
Get number of allowed logon attempts that kernel tolerates after the password has been expired.int
getInvalidLogonAttemptsCount()
Get current number of consequent invalid logon attempts.int
getInvalidLogonAttemptsLimit()
Get allowed number of invalid logon attempts before kernel locks the account.int
getLockTimeoutSeconds()
Get number of seconds for how long the kernel locks the account after exceeding allowed number of invalid logon attempts.UserAccountDisabledReason
getUserAccountDisabledReason()
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
-
-