Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 18107200C8B for ; Mon, 22 May 2017 14:50:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 169C1160BBF; Mon, 22 May 2017 12:50:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 81D9B160BA5 for ; Mon, 22 May 2017 14:50:46 +0200 (CEST) Received: (qmail 67676 invoked by uid 500); 22 May 2017 12:50:43 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 67665 invoked by uid 99); 22 May 2017 12:50:43 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2017 12:50:43 +0000 Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com [209.85.192.170]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 5CCFD1A031B for ; Mon, 22 May 2017 12:50:43 +0000 (UTC) Received: by mail-pf0-f170.google.com with SMTP id 9so81621326pfj.1 for ; Mon, 22 May 2017 05:50:43 -0700 (PDT) X-Gm-Message-State: AODbwcALcXuzuss+s8dvGThGqXdpPXDPdjdQpvJM3hW+r0y5kZ/RxBGX PhvP66ypHeLXLnKzNwLYqkmOy4Mb9g== X-Received: by 10.99.146.30 with SMTP id o30mr25214710pgd.61.1495457443025; Mon, 22 May 2017 05:50:43 -0700 (PDT) MIME-Version: 1.0 Reply-To: coheigea@apache.org Received: by 10.100.189.14 with HTTP; Mon, 22 May 2017 05:50:42 -0700 (PDT) From: Colm O hEigeartaigh Date: Mon, 22 May 2017 13:50:42 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: HttpSolrCall CollectionRequest collection name To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="f403045e3182ab1f5c05501c51e6" archived-at: Mon, 22 May 2017 12:50:47 -0000 --f403045e3182ab1f5c05501c51e6 Content-Type: text/plain; charset="UTF-8" Hi all, Setup: Standalone Solr with a "demo" collection name In HttpSolrCall.getAuthCtx - it is creating a CollectionRequest where collectionRequest.collectionName == null when I call: curl http://localhost:8983/solr/demo/get?id=xyz Is there a reason why it doesn't try to extract the collection name from the path in HttpSolrCall.getAuthCtx for this scenario? If I have a custom authorization plugin, how can I see what the requested collection is in this case? Apologies in advance if I am missing something obvious here. Thanks, Colm. -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com --f403045e3182ab1f5c05501c51e6--