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

Callers of org.apache.geode.internal.security.SecurityService.authorize(Resource, Operation, String, String) could be optimized by passing the key Object instead of always converting it to a String

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • client/server

    Description

      Lots of client/server messages callĀ org.apache.geode.internal.security.SecurityService.authorize(Resource, Operation, String, String).

      The last argument is called with "key.toString()". When the security service is the default legacy one (which does no security) then this conversion of the key Object to a String is not needed.

      This method could be changed to have its last parameter be an Object and then only in theIntegratedSecurityService do we need to call "toString()".

      Attachments

        Issue Links

          Activity

            People

              mivanac Mario Ivanac
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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