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

Philip Zampino reassigned KNOX-2233:
------------------------------------

    Assignee: Philip Zampino

> DefaultKeystoreService getCredentialForCluster uses cache without 
> synchronization
> ---------------------------------------------------------------------------------
>
>                 Key: KNOX-2233
>                 URL: https://issues.apache.org/jira/browse/KNOX-2233
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.4.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>
> The getCredentialForCluster(String, String) method of DefaultKeystoreService 
> invokes checkCache(String, String) and addToCache(String, String) without any 
> synchronization, despite the comments on those methods indicating that they 
> are only called within critical sections of other methods. This method should 
> be synchronized similar to what is done for the 
> addCredentialForCluster(String, String, String) and 
> removeCredentialForCluster(String, String) method implementations therein.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to