Qiang Zhang created RANGER-1870:
-----------------------------------

             Summary: Modify the logic for buildUnixUserList and parseMembers  
method in UnixUserGroupBuilder class 
                 Key: RANGER-1870
                 URL: https://issues.apache.org/jira/browse/RANGER-1870
             Project: Ranger
          Issue Type: Bug
          Components: usersync
            Reporter: Qiang Zhang
            Assignee: Qiang Zhang
            Priority: Minor


Modify the logic for buildUnixUserList and parseMembers  method in 
UnixUserGroupBuilder class 
1.In the  buildUnixUserList method:
int len = tokens.length;
if (len = 3) groupId = tokens [3]; case ArrayIndexOutOfBoundsException.
2.Another similar error in the  parseMembers method:
String[] tokens = line.split(":");
if (tokens.length = 2) String groupId = tokens [2];  case 
ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to