[ https://issues.apache.org/jira/browse/GEODE-6691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider resolved GEODE-6691. ------------------------------------- Resolution: Fixed Fix Version/s: 1.10.0 > 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 > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: GEODE-6691 > URL: https://issues.apache.org/jira/browse/GEODE-6691 > Project: Geode > Issue Type: Improvement > Components: client/server > Reporter: Darrel Schneider > Assignee: Mario Ivanac > Priority: Major > Labels: performance > Fix For: 1.10.0 > > Time Spent: 2h 20m > Remaining Estimate: 0h > > 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()". -- This message was sent by Atlassian JIRA (v7.6.3#76005)