com.crystaldecisions.sdk.plugin.authentication.enterprise
Interface IsecEnterpriseBase

All Known Subinterfaces:
IsecEnterprise

public interface IsecEnterpriseBase

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

getMaxPasswordAge

public int getMaxPasswordAge()

Returns the number of days before the password expires.

Returns:
An int specifying the number of days before the password expires.

setMaxPasswordAge

public void setMaxPasswordAge(int seconds)

Sets the number of days before the password expires.

Parameters:
seconds - An int specifying the number of days before the password expires.

isPasswordAgeEnforced

public boolean isPasswordAgeEnforced()

Returns true if users are required to change their password after a specified length of time, and false otherwise.

Returns:
true if users are required to change their password after a specified length of time, and false otherwise.

setMaxPasswordAgeEnforced

public void setMaxPasswordAgeEnforced(boolean enforce)

Sets whether users are required to change their password after a specified length of time.

Parameters:
enforce - true if users are required to change their password after a specified length of time, and false otherwise.

getMinPasswordLength

public int getMinPasswordLength()

Returns the minimum number of characters that a password must have to be valid.

Returns:
An int specifying the minimum number of characters that a password must have to be valid.

setMinPasswordLength

public void setMinPasswordLength(int length)

Sets the minimum number of characters that a password must have to be valid.

Parameters:
length - An int specifying the minimum number of characters that a password must have to be valid.

isMinPasswordLengthEnforced

public boolean isMinPasswordLengthEnforced()

Returns true if passwords must contain a minimum number of characters, and false otherwise.

Returns:
true if passwords must contain a minimum number of characters, and false otherwise.

setMinPasswordLengthEnforced

public void setMinPasswordLengthEnforced(boolean enforce)

Sets whether passwords must contain a minimum number of characters.

Parameters:
enforce - true if passwords must contain a minimum number of characters, and false otherwise.

getUnableToRepeatNPasswords

public int getUnableToRepeatNPasswords()

Returns the number of recent passwords that cannot be reused.

Returns:
An int specifying the number of recent passwords that cannot be reused.

setUnableToRepeatNPasswords

public void setUnableToRepeatNPasswords(int numPasswords)

Sets the number of recent passwords that cannot be reused.

Parameters:
numPasswords - An int specifying the number of recent passwords that cannot be reused.

isUnableToRepeatNPasswordsEnforced

public boolean isUnableToRepeatNPasswordsEnforced()

Returns true if previous passwords cannot be repeated, and false otherwise.

Returns:
true if previous passwords cannot be repeated, and false otherwise.

setUnableToRepeatNPasswordsEnforced

public void setUnableToRepeatNPasswordsEnforced(boolean enforce)

Sets whether previous passwords cannot be repeated.

Parameters:
enforce - true if previous passwords cannot be repeated, and false otherwise.

getReenableAccountTime

public int getReenableAccountTime()

Returns the length of time the user must wait before his or her disabled account is re-enabled.

Returns:
An int specifying the length of time the user must wait before his or her disabled account is re-enabled.

setReenableAccountTime

public void setReenableAccountTime(int seconds)

Sets the length of time the user must wait before his or her disabled account is re-enabled.

Parameters:
seconds - An int specifying the length of time the user must wait before his or her disabled account is re-enabled.

isReenableAccountTimeEnforced

public boolean isReenableAccountTimeEnforced()

Returns true if a disabled account will be re-enabled after a specified length of time, and false otherwise.

Returns:
true if a disabled account will be re-enabled after a specified length of time, and false otherwise.

setReenableAccountTimeEnforced

public void setReenableAccountTimeEnforced(boolean enforce)

Sets whether a disabled account will be re-enabled after a specified length of time.

Parameters:
enforce - true if a disabled account will be re-enabled after a specified length of time, and false otherwise.

getMinTimeBetweenPasswordChanges

public int getMinTimeBetweenPasswordChanges()

Returns the number of minutes that must pass before a user can change a password.

Returns:
An int specifying the number of minutes that must pass before a user can change a password.

setMinTimeBetweenPasswordChanges

public void setMinTimeBetweenPasswordChanges(int seconds)

Sets the number of minutes that must pass before a user can change a password.

Parameters:
seconds - An int specifying the number of minutes that must pass before a user can change a password.

isAccountDisabledAfterNFailedLogins

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.

Returns:
true if the account is disabled after a specified number of attempts to log on to the system, and false otherwise.

setAccountDisabledAfterNFailedLogins

public void setAccountDisabledAfterNFailedLogins(boolean disable)

Sets whether the account is disabled after a specified number of attempts to log on to the system.

Parameters:
disable - true if the account is disabled after a specified number of attempts to log on to the system, and false otherwise.

getMaxNumberOfAttempts

public int getMaxNumberOfAttempts()

Returns the number of times users can fail to log on to the system before their account is locked.

Returns:
An int specifying the number of times users can fail to log on to the system before their account is locked.

setMaxNumberOfAttempts

public void setMaxNumberOfAttempts(int attempts)

Sets the number of times users can fail to log on to the system before their account is locked.

Parameters:
attempts - An int specifying the number of times users can fail to log on to the system before their account is locked.

getResetLogonAttemptCount

public int getResetLogonAttemptCount()

Returns the length of time that must pass before the count for logon attempts is reset to zero.

Returns:
An int specifying the length of time that must pass before the count for logon attempts is reset to zero.

setResetLogonAttemptCount

public void setResetLogonAttemptCount(int seconds)

Sets the length of time that must pass before the count for logon attempts is reset to zero.

Parameters:
seconds - An int specifying the length of time that must pass before the count for logon attempts is reset to zero.

isMixedCaseEnforced

public boolean isMixedCaseEnforced()

Returns true if passwords must be mixed-case, and false otherwise.

Returns:
true if passwords must be mixed-case, and false otherwise.

setMixedCaseEnforced

public void setMixedCaseEnforced(boolean enforce)

Sets whether passwords must be mixed-case.

Parameters:
enforce - true if passwords must be mixed-case, and false otherwise.