code: private String getRDN(String name) {
          if (name == null) {
              return name;
          }
          int indexOfEqual = name.indexOf('=');
          if (indexOfEqual < 0) {
              return name;
          }
          String rdnValue = name.substring(0, indexOfEqual);
          return rdnValue;
      }
docs: The method reads the uniqueName of the user and returns the rdn property