|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
|
static java.lang.String |
defaultCommandClassName
|
static java.lang.String |
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. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public java.lang.String getAuthenticateUserId()
public boolean isLogonIdValid()
public boolean isValidCredentials()
public void setLogonId(java.lang.String strLogonId)
strLogonID
- The login ID.public void setPassword(java.lang.String strPassword)
strPassword
- The password.public void setUpdateFlag()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |