You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2019/04/09 23:34:00 UTC

[jira] [Created] (GEODE-6627) Authorization is now called only on unique context values

nabarun created GEODE-6627:
------------------------------

             Summary: Authorization is now called only on unique context values
                 Key: GEODE-6627
                 URL: https://issues.apache.org/jira/browse/GEODE-6627
             Project: Geode
          Issue Type: Bug
          Components: security
            Reporter: nabarun


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)