ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsombor Gegesy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RANGER-1618) PasswordUtil is not thread-safe
Date Fri, 26 May 2017 10:07:04 GMT
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

View raw message