public interface AuthenticationPolicyCmd extends TaskCommand
This task command is called by every command that verifies or updates user credentials. This command can be used to enforce policies such as minimum password length.
Before executing this task command, the methods listed below must be invoked.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The Copyright field.
|
static java.lang.String | defaultCommandClassName
The default command implementation class.
|
static java.lang.String | NAME
The command name.
|
Modifier and Type | Method and Description |
---|---|
boolean | isPasswordCompliant()
After this command task is executed, a boolean result flag is set to indicate if the password complies with the user's password policy.
|
void | setAccountPolicy(java.lang.String strDefinedAccountPolicy)
This method sets the account policy used to check this password.
|
void | setErrorTask(java.lang.String strErrorTask)
This function allows the default error view task of the command to be overwritten.
|
void | setLogonId(java.lang.String strLogonId)
This method sets the logon ID under which the current user wishes to logon.
|
void | setPassword(java.lang.String strPassword)
This method sets the password to be used for authentication with the new logon ID.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
boolean isPasswordCompliant()
void setAccountPolicy(java.lang.String strDefinedAccountPolicy)
void setErrorTask(java.lang.String strErrorTask)
void setLogonId(java.lang.String strLogonId)
void setPassword(java.lang.String strPassword)