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)