private Table getFilteredTable(String dbName, String tblName, List<Table> tableList) {
    Table ret = null;
    for (Table table: tableList) {
      String databaseName = table.getDbName();
      String tableName = table.getTableName();
      if (dbName.equals(databaseName) && tblName.equals(tableName)) {
        ret = table;
        break;
      }
    }
    return ret;
  }
Metastore filter hook for filtering out the list of objects that the current authorization
implementation does not allow user to see
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/AuthorizationMetaStoreFilterHook.java