public static String getPasswdFromUri(String uriString) throws IOException, URISyntaxException, HiveException {
    if (uriString == null || uriString.isEmpty()) {
      return null;
    }
    return URISecretSource.getInstance().getPasswordFromUri(new URI(uriString));
  }
Load password from the given uri.
@param uriString The URI which is used to load the password.
@return null if the uri is empty or null, else the password represented by the URI.
@throws IOException
@throws URISyntaxException
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java