4.6.1 Basic Authentication Sequence

For Basic authentication, the following sequence is used.

Basic authentication sequence

Figure 9: Basic authentication sequence

  1. In response to a client LinkViewerToMacConnect message request, the server sends a LinkMacToViewerReportConnectedEX message with the following attributes:

    • The AuthenPackage field is set to BASIC.

    • The cbAuthenPackage field has a value of 6.

      The client and server then continue their normal sequence of commands.

  2. Eventually, the client sends a LinkViewerToMacOpenFile message request to which the server responds with a LinkMacToViewerSecurityChallenge message.

  3. The client sends a LinkViewerToMacSecurityResponse message to the server that contains the username and password. If the credentials are correct, the server responds with a LinkMacToViewerReportOpenFile message. Otherwise, the server responds with a LinkMacToViewerSecurityChallenge message.

Show: