Qpid
  1. Qpid
  2. QPID-2934

Feature to pass the authenticated userId to QMF agent method handlers for authorization

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9
    • Labels:
      None

      Description

      In order to authorize method calls in QMF, the method handler needs to be provided with the authenticated user-id of the requestor (i.e. the content of the user-id message header as authenticated by the message broker).

      This change provides a new method to Manageable (in the C++ agent API) called AuthorizeMethod. It is virtual and may optionally be overridden by the application. If overridden, it is invoked immediately prior to the call to ManagementMethod (the method handler) with the method-id, method-arguments, and the user-id.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        23h 1m 1 Ted Ross 09/Nov/10 21:18
        Resolved Resolved Closed Closed
        992d 21h 47m 1 Justin Ross 29/Jul/13 20:06
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ted Ross made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ted Ross made changes -
        Field Original Value New Value
        Attachment QPID2934.diff [ 12459092 ]
        Hide
        Ted Ross added a comment -

        This patch implements the proposed solution.

        Show
        Ted Ross added a comment - This patch implements the proposed solution.
        Ted Ross created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development