If the server is configured to authenticate against LDAP, then this task command is called to perform authentication and sychronization.
Before executing this task command the following sets should be performed:
setCommandContext setLogonId setPasswordTo determine whether the authentication was successful call isValidCredentials.
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 | |
---|---|
java.lang.String |
getAuthenticateUserId() Gets the user id of the user after the authentication was successful. |
boolean |
isLogonIdValid() A boolean result flag will be set to indicate if the logon id supplied was correct. |
boolean |
isValidCredentials() After its execution, this task command sets a boolean flag to indicate whether the authentication was successful. |
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. |
void |
setUpdateFlag()
This method is called to indicate that instead of performing
verification of the credentials, the credentials should be set on
LDAP. |
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 java.lang.String getAuthenticateUserId()
public boolean isLogonIdValid()
public boolean isValidCredentials()
public void setLogonId(java.lang.String strLogonId)
public void setPassword(java.lang.String strPassword)
strPassword
- The password.public void setUpdateFlag()