|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Use this interface to set global security options for native Enterprise user accounts.
In most cases, the settings that are specified through the IsecEnterprise interface
override the password settings specified for a particular Enterprise user through the
IUser interface.
| Method Summary | |
int |
getMaxNumberOfAttempts()
Returns the number of times users can fail to log on to the system before their account is locked. |
int |
getMaxPasswordAge()
Returns the number of days before the password expires. |
int |
getMinPasswordLength()
Returns the minimum number of characters that a password must have to be valid. |
int |
getMinTimeBetweenPasswordChanges()
Returns the number of minutes that must pass before a user can change a password. |
int |
getReenableAccountTime()
Returns the length of time the user must wait before his or her disabled account is re-enabled. |
int |
getResetLogonAttemptCount()
Returns the length of time that must pass before the count for logon attempts is reset to zero. |
int |
getUnableToRepeatNPasswords()
Returns the number of recent passwords that cannot be reused. |
boolean |
isAccountDisabledAfterNFailedLogins()
Returns true if the account is disabled after a specified number of attempts to
log on to the system, and false otherwise.
|
boolean |
isMinPasswordLengthEnforced()
Returns true if passwords must contain a minimum number of characters, and
false otherwise.
|
boolean |
isMixedCaseEnforced()
Returns true if passwords must be mixed-case, and false otherwise.
|
boolean |
isPasswordAgeEnforced()
Returns true if users are required to change their password after a specified
length of time, and false otherwise.
|
boolean |
isReenableAccountTimeEnforced()
Returns true if a disabled account will be re-enabled after a specified length
of time, and false otherwise.
|
boolean |
isUnableToRepeatNPasswordsEnforced()
Returns true if previous passwords cannot be repeated, and false
otherwise.
|
void |
setAccountDisabledAfterNFailedLogins(boolean disable)
Sets whether the account is disabled after a specified number of attempts to log on to the system. |
void |
setMaxNumberOfAttempts(int attempts)
Sets the number of times users can fail to log on to the system before their account is locked. |
void |
setMaxPasswordAge(int seconds)
Sets the number of days before the password expires. |
void |
setMaxPasswordAgeEnforced(boolean enforce)
Sets whether users are required to change their password after a specified length of time. |
void |
setMinPasswordLength(int length)
Sets the minimum number of characters that a password must have to be valid. |
void |
setMinPasswordLengthEnforced(boolean enforce)
Sets whether passwords must contain a minimum number of characters. |
void |
setMinTimeBetweenPasswordChanges(int seconds)
Sets the number of minutes that must pass before a user can change a password. |
void |
setMixedCaseEnforced(boolean enforce)
Sets whether passwords must be mixed-case. |
void |
setReenableAccountTime(int seconds)
Sets the length of time the user must wait before his or her disabled account is re-enabled. |
void |
setReenableAccountTimeEnforced(boolean enforce)
Sets whether a disabled account will be re-enabled after a specified length of time. |
void |
setResetLogonAttemptCount(int seconds)
Sets the length of time that must pass before the count for logon attempts is reset to zero. |
void |
setUnableToRepeatNPasswords(int numPasswords)
Sets the number of recent passwords that cannot be reused. |
void |
setUnableToRepeatNPasswordsEnforced(boolean enforce)
Sets whether previous passwords cannot be repeated. |
| Method Detail |
public int getMaxPasswordAge()
Returns the number of days before the password expires.
int specifying the number of days before the password expires.public void setMaxPasswordAge(int seconds)
Sets the number of days before the password expires.
seconds - An int specifying the number of days before the password expires.public boolean isPasswordAgeEnforced()
Returns true if users are required to change their password after a specified
length of time, and false otherwise.
true if users are required to change their password after a specified
length of time, and false otherwise.public void setMaxPasswordAgeEnforced(boolean enforce)
Sets whether users are required to change their password after a specified length of time.
enforce - true if users are required to change their password after a specified
length of time, and false otherwise.public int getMinPasswordLength()
Returns the minimum number of characters that a password must have to be valid.
int specifying the minimum number of characters that a password
must have to be valid.public void setMinPasswordLength(int length)
Sets the minimum number of characters that a password must have to be valid.
length - An int specifying the minimum number of characters that a
password must have to be valid.public boolean isMinPasswordLengthEnforced()
Returns true if passwords must contain a minimum number of characters, and
false otherwise.
true if passwords must contain a minimum number of characters, and
false otherwise.public void setMinPasswordLengthEnforced(boolean enforce)
Sets whether passwords must contain a minimum number of characters.
enforce - true if passwords must contain a minimum number of characters,
and false otherwise.public int getUnableToRepeatNPasswords()
Returns the number of recent passwords that cannot be reused.
int specifying the number of recent passwords that cannot be reused.public void setUnableToRepeatNPasswords(int numPasswords)
Sets the number of recent passwords that cannot be reused.
numPasswords - An int specifying the number of recent passwords that
cannot be reused.public boolean isUnableToRepeatNPasswordsEnforced()
Returns true if previous passwords cannot be repeated, and false
otherwise.
true if previous passwords cannot be repeated, and false
otherwise.public void setUnableToRepeatNPasswordsEnforced(boolean enforce)
Sets whether previous passwords cannot be repeated.
enforce - true if previous passwords cannot be repeated, and false
otherwise.public int getReenableAccountTime()
Returns the length of time the user must wait before his or her disabled account is re-enabled.
int specifying the length of time the user must wait before his
or her disabled account is re-enabled.public void setReenableAccountTime(int seconds)
Sets the length of time the user must wait before his or her disabled account is re-enabled.
seconds - An int specifying the length of time the user must wait before
his or her disabled account is re-enabled.public boolean isReenableAccountTimeEnforced()
Returns true if a disabled account will be re-enabled after a specified length
of time, and false otherwise.
true if a disabled account will be re-enabled after a specified length
of time, and false otherwise.public void setReenableAccountTimeEnforced(boolean enforce)
Sets whether a disabled account will be re-enabled after a specified length of time.
enforce - true if a disabled account will be re-enabled after a specified length
of time, and false otherwise.public int getMinTimeBetweenPasswordChanges()
Returns the number of minutes that must pass before a user can change a password.
int specifying the number of minutes that must pass before a user
can change a password.public void setMinTimeBetweenPasswordChanges(int seconds)
Sets the number of minutes that must pass before a user can change a password.
seconds - An int specifying the number of minutes that must pass before a user
can change a password.public boolean isAccountDisabledAfterNFailedLogins()
Returns true if the account is disabled after a specified number of attempts to
log on to the system, and false otherwise.
true if the account is disabled after a specified number of attempts to
log on to the system, and false otherwise.public void setAccountDisabledAfterNFailedLogins(boolean disable)
Sets whether the account is disabled after a specified number of attempts to log on to the system.
disable - true if the account is disabled after a specified number of attempts to
log on to the system, and false otherwise.public int getMaxNumberOfAttempts()
Returns the number of times users can fail to log on to the system before their account is locked.
int specifying the number of times users can fail to log on to the
system before their account is locked.public void setMaxNumberOfAttempts(int attempts)
Sets the number of times users can fail to log on to the system before their account is locked.
attempts - An int specifying the number of times users can fail to log on to the
system before their account is locked.public int getResetLogonAttemptCount()
Returns the length of time that must pass before the count for logon attempts is reset to zero.
int specifying the length of time that must pass before the count
for logon attempts is reset to zero.public void setResetLogonAttemptCount(int seconds)
Sets the length of time that must pass before the count for logon attempts is reset to zero.
seconds - An int specifying the length of time that must pass before the
count for logon attempts is reset to zero.public boolean isMixedCaseEnforced()
Returns true if passwords must be mixed-case, and false otherwise.
true if passwords must be mixed-case, and false otherwise.public void setMixedCaseEnforced(boolean enforce)
Sets whether passwords must be mixed-case.
enforce - true if passwords must be mixed-case, and false
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||