Qpid
  1. Qpid
  2. QPID-4596

[Java Broker] Add ability to create/delete/update virtual host, authentication provider, port via REST interfaces

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21
    • Fix Version/s: 0.22
    • Component/s: Java Broker
    • Labels:
      None

      Description

      Add ability to create/delete/update the following configured objects:

      • virtual host
      • authentication provider
      • port

        Activity

        Alex Rudyy created issue -
        Alex Rudyy made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Alex Rudyy added a comment -

        Attached a patch containing WIP

        Show
        Alex Rudyy added a comment - Attached a patch containing WIP
        Alex Rudyy made changes -
        Alex Rudyy made changes -
        Summary [Java Broker] Add validation and ACL checks for management operations to create/delete virtual host, authentication provider, port, group provider [Java Broker] Add ability to create/delete/update virtual host, authentication provider, port via REST interfaces
        Description Add validation and ACL checks for management operations to create/delete the following configured objects:
        * virtual host
        * authentication provider
        * port
        * group provider
        Add ability to create/delete/update the following configured objects:
        * virtual host
        * authentication provider
        * port
        Alex Rudyy made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Hide
        Alex Rudyy added a comment -

        Robbie,
        Could you please review the changes in the revision https://svn.apache.org/repos/asf/qpid/trunk@1450881 ?

        Show
        Alex Rudyy added a comment - Robbie, Could you please review the changes in the revision https://svn.apache.org/repos/asf/qpid/trunk@1450881 ?
        Alex Rudyy made changes -
        Assignee Alex Rudyy [ alex.rufous ] Robbie Gemmell [ gemmellr ]
        Alex Rudyy made changes -
        Attachment 0001-QPID-4596-Register-unregister-SASl-JCA-Provider-for-.patch [ 12575026 ]
        Hide
        Alex Rudyy added a comment -

        Attached patches with some work in progress

        Show
        Alex Rudyy added a comment - Attached patches with some work in progress
        Alex Rudyy made changes -
        Attachment 0001-QPID-4596-Register-unregister-SASl-JCA-Provider-for-.patch [ 12575026 ]
        Alex Rudyy made changes -
        Comment [ Attached a patch adding functionality to register/unregister SASL JCA provider on creation/deletion of Simple Ldap Authentication providers ]
        Hide
        Robbie Gemmell added a comment -

        I tink we need to ensure that the onCreate() call is only performed when the user has used the managmetn interface to create the authentication provider. Currently it would be called on every broekr startup as well, meaning the broker would be unaware of the password file being missing/deleted prior to startup. We shoudl separate out 'reate' and 'recover' the way it was done for the group providers recently.

        Show
        Robbie Gemmell added a comment - I tink we need to ensure that the onCreate() call is only performed when the user has used the managmetn interface to create the authentication provider. Currently it would be called on every broekr startup as well, meaning the broker would be unaware of the password file being missing/deleted prior to startup. We shoudl separate out 'reate' and 'recover' the way it was done for the group providers recently.
        Robbie Gemmell made changes -
        Assignee Robbie Gemmell [ gemmellr ] Alex Rudyy [ alex.rufous ]
        Hide
        Robbie Gemmell added a comment -

        Alex made changes to the above efect in http://svn.apache.org/r1475825

        Show
        Robbie Gemmell added a comment - Alex made changes to the above efect in http://svn.apache.org/r1475825
        Hide
        Robbie Gemmell added a comment -

        r1475825 was merged to the 0.22 release branch in http://svn.apache.org/r1476104

        Show
        Robbie Gemmell added a comment - r1475825 was merged to the 0.22 release branch in http://svn.apache.org/r1476104
        Alex Rudyy made changes -
        Comment [ Robbie's comments about invoking AuthenticationManager#onCreate() only on creation of authentication provider are addressed in revision http://svn.apache.org/r1475825 . ]
        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robbie Gemmell made changes -
        Fix Version/s 0.22 [ 12324272 ]
        Fix Version/s 0.21 [ 12323549 ]
        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        6m 6s 1 Alex Rudyy 22/Feb/13 18:07
        In Progress In Progress Reviewable Reviewable
        4d 23h 43m 1 Alex Rudyy 27/Feb/13 17:50
        Reviewable Reviewable Resolved Resolved
        60d 15h 21m 1 Robbie Gemmell 29/Apr/13 10:11
        Resolved Resolved Closed Closed
        653d 10h 54m 1 Rob Godfrey 11/Feb/15 20:06

          People

          • Assignee:
            Alex Rudyy
            Reporter:
            Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development