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.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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)
strDefinedAccountPolicy
- The account policy.void setErrorTask(java.lang.String strErrorTask)
strErrorTask
- The name of the new error view task.void setLogonId(java.lang.String strLogonId)
strLogonId
- The login ID.void setPassword(java.lang.String strPassword)
strPassword
- The password.