code: private void decodeAuthorizationHeader(String authString, StringBuilder userID, StringBuilder password) {
          userID.setLength(0);
          password.setLength(0);
          if (!Utils.isEmpty(authString) && authString.toLowerCase().startsWith("basic ")) {
              String decoded = Utils.base64ToString(authString.substring("basic ".length()));
              int inx = decoded.indexOf(':');
              if (inx < 0) {
                  userID.append(decoded);
              } else {
                  userID.append(decoded.substring(0, inx));
                  password.append(decoded.substring(inx + 1));
              }
          }
      }
docs: Decode the given Authorization header value into its user/password components.