|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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.
| Field Summary | |
|---|---|
static java.lang.String |
KIND
The Kind used to query for the secEnterprise interface. |
static java.lang.String |
PROGID
The ProgID for the secEnterprise Class. |
| Method Summary | |
|---|---|
java.util.Date |
getLastSharedSecretChangeTime()
Returns the last modification time of the shared secret. |
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 |
getMaxSharedSecretAge()
Returns the number of days before the shared secret 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 |
getTrustedPrincipalValidTime()
Returns a long that indicates in milliseconds how long the trusted principal will be valid. |
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 |
isNumericEnforced()
Returns true if passwords must have numeric character, 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 |
isSharedSecretNotEmpty()
Returns a boolean value that indicates whether the password is set and not empty. |
boolean |
isSpecialcharacterEnforced()
Returns true if passwords must have special character, and false otherwise. |
boolean |
isTrustedAuthenticationEnabled()
Returns a boolean value that indicates whether trusted authentication is enabled. |
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 |
setMaxSharedSecretAge(int days)
Sets the number of days before the shared secret expires. |
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 |
setNumericEnforced(boolean enforce)
Sets whether passwords must be numeric character. |
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 |
setSharedSecret(java.lang.String value)
Sets a String that indicates the shared secret between client and server. |
void |
setSpecialcharacterEnforced(boolean enforce)
Sets whether passwords must have special character. |
void |
setTrustedAuthenticationEnabled(boolean value)
Sets a boolean value that indicates whether trusted authentication is enabled. |
void |
setTrustedPrincipalValidTime(int time)
Sets a long that indicates in milliseconds how long the trusted principal will be valid. |
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. |
| Field Detail |
|---|
static final java.lang.String KIND
The Kind used to query for the secEnterprise interface.
static final java.lang.String PROGID
The ProgID for the secEnterprise Class.
| ProgID | CrystalEnterprise.SEC_ENTERPRISE |
| Query Category | CI_SYSTEMOBJECTS |
| Associated Interface | com.crystaldecisions.sdk.plugin.authentication.enterprise.IsecEnterprise |
Query syntax:
SELECT | |
SI_MAX_NUMBER_OF_ATTEMPTS, SI_MAX_PASSWORD_AGE, SI_MIN_PASSWORD_LENGTH, SI_MIN_TIME_BETWEEN_PASSWORD_CHANGES, SI_REENABLE_ACCOUNT_TIME, SI_FAILED_LOGIN_COUNTER_RESET_TIME, SI_UNABLE_TO_REPEAT_LAST_N_PASSWORDS, SI_DISABLE_ACCOUNT_AFTER_N_FAILED_LOGINS, SI_ENFORCE_MIN_PASSWORD_LENGTH, SI_FORCE_MIXED_CASE, SI_ENFORCE_MAX_PASSWORD_AGE, SI_ENFORCE_REENABLE_ACCOUNT_TIME, SI_ENFORCE_UNABLE_TO_REPEAT_LAST_N_PASSWORDS | |
FROM | |
CI_SYSTEMOBJECTS | |
WHERE | |
SI_NAME='secENTERPRISE' | |
Authentication plugins are static and non-creatable. This means that only the plugin itself exists and no instances. As there is only one secEnterprise object, and not multiple versions with the same ProgID, the CrystalEnterprise.SEC_ENTERPRISE plugin must be retrieved using the SI_NAME property.
The CePropertyIDs named in the SELECT statement are those that are required to access data through the IsecEnterprise interface. For more information on their associations with the interface's methods, see IsecEnterprise
| Method Detail |
|---|
int getMaxPasswordAge()
Returns the number of days before the password expires.
int specifying the number of days before the password expires.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.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.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.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.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.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.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.int getUnableToRepeatNPasswords()
Returns the number of recent passwords that cannot be reused.
int specifying the number of recent passwords that cannot be reused.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.boolean isUnableToRepeatNPasswordsEnforced()
Returns true if previous passwords cannot be repeated, and false
otherwise.
true if previous passwords cannot be repeated, and false
otherwise.void setUnableToRepeatNPasswordsEnforced(boolean enforce)
Sets whether previous passwords cannot be repeated.
enforce - true if previous passwords cannot be repeated, and false
otherwise.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.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.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.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.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.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.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.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.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.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.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.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.boolean isMixedCaseEnforced()
Returns true if passwords must be mixed-case, and false otherwise.
true if passwords must be mixed-case, and false otherwise.void setMixedCaseEnforced(boolean enforce)
Sets whether passwords must be mixed-case.
enforce - true if passwords must be mixed-case, and false
otherwise.boolean isSpecialcharacterEnforced()
Returns true if passwords must have special character, and false otherwise.
true if passwords must have special character, and false otherwise.void setSpecialcharacterEnforced(boolean enforce)
Sets whether passwords must have special character.
enforce - true if passwords must have special character, and false
otherwise.boolean isNumericEnforced()
Returns true if passwords must have numeric character, and false otherwise.
true if passwords must have numeric character, and false otherwise.void setNumericEnforced(boolean enforce)
Sets whether passwords must be numeric character.
enforce - true if passwords must have numeric characters, and false
otherwise.boolean isTrustedAuthenticationEnabled()
Returns a boolean value that indicates whether trusted authentication is enabled.
boolean value that indicates whether trusted authentication is enabled.void setTrustedAuthenticationEnabled(boolean value)
Sets a boolean value that indicates whether trusted authentication is enabled.
Set to true to enable trusted authentication.
value - A boolean value that indicates whether trusted authentication is enabled.
void setSharedSecret(java.lang.String value)
throws SDKException
Sets a String that indicates the shared secret between client and server.
value - A String that contains the shared secret.
SDKException - This is thrown if the process is unsuccessful.
boolean isSharedSecretNotEmpty()
throws SDKException
Returns a boolean value that indicates whether the password is set and not empty.
boolean value that indicates whether the password is set and not empty.
SDKException - This is thrown if the process is unsuccessful.
int getTrustedPrincipalValidTime()
throws SDKException
Returns a long that indicates in milliseconds how long the trusted principal will be valid.
long that indicates in milliseconds how long the trusted principal will be valid.
SDKException - This is thrown if the process is unsuccessful.void setTrustedPrincipalValidTime(int time)
Sets a long that indicates in milliseconds how long the trusted principal will be valid.
time - A long that indicates in milliseconds how long the trusted principal will be valid.int getMaxSharedSecretAge()
Returns the number of days before the shared secret expires.
int specifying the number of days before the shared secret expires.void setMaxSharedSecretAge(int days)
Sets the number of days before the shared secret expires.
days - An int specifying the number of days before the shared secret expires.java.util.Date getLastSharedSecretChangeTime()
Returns the last modification time of the shared secret.
Date that indicates the last modification time of the shared secret.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||