com.ibm.commerce.security.commands

Interface ThirdPartyAuthenticationCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Subinterfaces:
    ExternalSystemAuthenticationCmd

    Deprecated. 
    This interface is replaced by ExternalSystemAuthenticationCmd

    public interface ThirdPartyAuthenticationCmd
    extends TaskCommand

    If a WebSphere Commerce server is configured to authenticate against a third party system then this task command is called to either authenticate or update.

    Before executing this task command, the methods listed below must be invoked.

                    setEnciphereMerchantKey or setMerchantKey
                    setLogonId
                    setPassword
     

    If the setUpdateFlag is called, then upon execution of this task command, the credentials are updated in the database.

    If the setUpdateFlag is not called, upon execution of this task command, verification of the credentials is performed. To determine whether the authentication is successful, call isValidCredentials.

    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        Deprecated. 
        The Copyright field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        Deprecated. 
        The Command name.
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

      • isValidCredentials

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

        void setLogonId(java.lang.String strLogonId)
        Deprecated. 
        Sets the logon ID under which the current user wishes to logon.
        Parameters:
        strLogonID - The logon ID.
      • setPassword

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

        void setUpdateFlag()
        Deprecated. 
        This method is called to indicate that instead of performing verification of the credentials, the credentials should be set in the database.