@VisibleForTesting
  void removeForTest(SecretSource source) {
    sourcesMap.remove(source.getURIScheme(), source);
  }
Class provides a way to load passwords using a URI. The secret sources are discovered using java service loader.
The
ql/src/java/org/apache/hadoop/hive/ql/secrets/URISecretSource.java