This task command is called by every command that performs verification or update of a user credentials. Therefore 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.
setLogonId setPassword
Field Summary | |
static java.lang.String | COPYRIGHT Copyright field. |
static java.lang.String | defaultCommandClassName Default command implementation class. |
static java.lang.String | NAME Command name. |
Method Summary | |
boolean | isPasswordCompliant() After this command task is executed, a boolean result flag will be set to indicate if the password complies with the password policy defined for this user. |
void | setAccountPolicy(java.lang.String strDefinedAccountPolicy) Sets the account policy to be used to check this password. |
void | setErrorTask(java.lang.String strErrorTask) This function allows for the default error view task of the command to be overwritten. |
void | setLogonId(java.lang.String strLogonId) Sets the logon ID under which the current user wishes to logon. |
void | setPassword(java.lang.String strPassword) Sets the password to be used for authentication with the new logon ID. |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
public boolean isPasswordCompliant()
public void setAccountPolicy(java.lang.String strDefinedAccountPolicy)
public void setErrorTask(java.lang.String strErrorTask)
public void setLogonId(java.lang.String strLogonId)
public void setPassword(java.lang.String strPassword)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.