You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Greg Hill <gr...@rackspace.com> on 2016/01/14 20:00:02 UTC

Review Request 42316: [AMBARI-14672] Always look up users by lowercase usernames

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42316/
-----------------------------------------------------------

Review request for Ambari.


Bugs: AMBARI-14672
    https://issues.apache.org/jira/browse/AMBARI-14672


Repository: ambari


Description
-------

When you submit a user that has a mixed-case username, Ambari lowercases it for you, but then when you get it it can't find it, but still returns a 200 response.  This fixes the lookup to look for the lowercase version of the username.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UserDAO.java d209cfc 

Diff: https://reviews.apache.org/r/42316/diff/


Testing
-------

There weren't any existing unit tests for this method that I could find.


Thanks,

Greg Hill