You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Zsombor Gegesy (JIRA)" <ji...@apache.org> on 2017/05/26 10:07:04 UTC

[jira] [Created] (RANGER-1618) PasswordUtil is not thread-safe

Zsombor Gegesy created RANGER-1618:
--------------------------------------

             Summary: 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
             Fix For: 1.0.0


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)