com.ibm.commerce.security.commands
Interface PaymentManagerVerifyCredentialsCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
PaymentManagerVerifyCredentialsCmdImpl

public interface PaymentManagerVerifyCredentialsCmd
extends TaskCommand

This command will take the input credentials and update them in either the database, LDAP, or third party system depending on how the WCS system was configured.

Before executing this task command the following sets should be performed:

    setLogonId
    setPassword
After execution the isValidCredentials command should be called to see whether the credentials were valid or not.

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 getLogonId()
          Retrieve the Logon ID under which the current user wishes to logon.
  UserRegistryAccessBean getUserRegistryAccessBean()
          Retrieve the UserRegistryAccessBean to be used for authentication with the new Logon ID.
 boolean isValidCredentials()
          After the this command task is executed, a boolean result flag will be set to indicate if 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.
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
Command name.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
Default command implementation class.
See Also:
Constant Field Values
Method Detail

getLogonId

public java.lang.String getLogonId()
Retrieve the Logon ID under which the current user wishes to logon.
Returns:
The Logon ID.

getUserRegistryAccessBean

public UserRegistryAccessBean getUserRegistryAccessBean()
Retrieve the UserRegistryAccessBean to be used for authentication with the new Logon ID.
Returns:
The UserRegistryAccessBean.

isValidCredentials

public boolean isValidCredentials()
After the this command task is executed, a boolean result flag will be set to indicate if the authentication was successful. This method will return the this result flag to indicate if the authentication was successful.
Returns:
True if authentication was successful.

setLogonId

public void setLogonId(java.lang.String strLogonId)
Sets the Logon ID under which the current user wishes to logon.

setPassword

public void setPassword(java.lang.String strPassword)
Sets the Password to be used for authentication with the new Logon ID.
Parameters:
strPassword - The Password.