Qpid
  1. Qpid
  2. QPID-2112

C++ Client: Facility needed for app to extract the user-ID in use for a connection

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Component/s: C++ Client
    • Labels:
      None

      Description

      When using GSSAPI as the authentication mechanism, the client application does not know the identity used for an AMQP connection. This is because the SASL library automatically gets the identity from a keytab file and uses it to authenticate with the broker.

      If the application wishes to place the userID into the message properties for a produced message, it needs to be able to get the information from somewhere. I propose that the information be copied into the "negotiated settings" for a connection at the completion of the authentication exchange. Then, the client can get the identity string be calling "getNegotiatedSettings" on the connection. This change does not affect the API or ABI of the interface. It only enhances the meaning of the "username" field in negotiated settings.

        Activity

          People

          • Assignee:
            Ted Ross
            Reporter:
            Ted Ross
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development