[
https://issues.apache.org/jira/browse/RANGER-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zsombor Gegesy updated RANGER-1618:
-----------------------------------
Attachment: 0001-RANGER-1618-Static-mutable-variables-are-a-way-to-in.patch
> PasswordUtil is not thread-safe
> -------------------------------
>
> Key: RANGER-1618
> URL: https://issues.apache.org/jira/browse/RANGER-1618
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Affects Versions: master
> Reporter: Zsombor Gegesy
> Assignee: Zsombor Gegesy
> Labels: concurrency, security, thread-safety
> Fix For: 1.0.0
>
> Attachments:
> 0001-RANGER-1618-Static-mutable-variables-are-a-way-to-in.patch
>
>
> As the PasswordUtil has a couple of static variables, which is modified
> during the encryptPassword/decyptPassword calls - there is a possibility that
> concurrent calls overwrites the values, resulting in a hard to debug errors.
> And it would be nice to add a couple of tests for this utility.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)