You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dick Cavender (Jira)" <ji...@apache.org> on 2019/09/26 18:05:08 UTC

[jira] [Closed] (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

     [ https://issues.apache.org/jira/browse/GEODE-6691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dick Cavender closed 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
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 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
(v8.3.4#803005)