Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6627

Authorization is now called only on unique context values

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • security
    • None

    Description

      The MBeanServerWrapper calls getAttribute for each attribute mentioned in getAttributes.

      • For each attribute we then call getAuthorization¬†
      • we can reduce the number of calls by collecting all the context in a set and calling authorize.
      • This will be an optimization as majority of the attributes need CLUSTER:READ and hence one call will be made to check if the subject has permission for CLUSTER:READ and all attributes will be read.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nnag Nabarun Nag

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m

                Issue deployment