public String getRemoteUser() {
    return saslServer == null ? null : saslServer.getRemoteUser();
  }
Returns the thrift processor factory for HiveServer2 running in binary mode
@param service
@return
@throws LoginException
service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java