code: public static User get(AlluxioConfiguration conf) throws IOException {
      if (!SecurityUtils.isAuthenticationEnabled(conf)) {
        throw new IOException(ExceptionMessage.AUTHENTICATION_IS_NOT_ENABLED.getMessage());
      }
      return sUserThreadLocal.get();
    }
docs: TODO(peis): Fail early if the user is not able to be set to avoid returning null.