Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1870

Modify the logic for buildUnixUserList and parseMembers method in UnixUserGroupBuilder class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0, master
    • usersync
    • None
    • Patch

    Description

      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.

      Attachments

        Activity

          People

            zhangqiang2 Qiang Zhang
            zhangqiang2 Qiang Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: