com.ibm.commerce.security.commands

Interface ExternalSystemAuthenticationCmd

  • 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, ThirdPartyAuthenticationCmd


    public interface ExternalSystemAuthenticationCmd
    extends ThirdPartyAuthenticationCmd

    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
        The Copyright field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

      • getAuthenticateUserId

        java.lang.String getAuthenticateUserId()
        Gets the user id of the user after the authentication was successful. If the authentication was not successful, the method returns null.
        Returns:
        The user id.