private static void injectFault() throws ServiceException {
    if (injectedException != null) {
      throw injectedException;
    }
  }
Utility methods for obtaining authentication tokens, that do not require hbase-server.
hbase-client/src/main/java/org/apache/hadoop/hbase/security/token/ClientTokenUtil.java