public String getIpAddress() {
    if (saslServer == null || saslServer.getRemoteAddress() == null) {
      return null;
    } else {
      return saslServer.getRemoteAddress().getHostAddress();
    }
  }
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