Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57709947C for ; Fri, 7 Oct 2011 18:00:33 +0000 (UTC) Received: (qmail 69763 invoked by uid 500); 7 Oct 2011 18:00:33 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 69737 invoked by uid 500); 7 Oct 2011 18:00:33 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 69729 invoked by uid 99); 7 Oct 2011 18:00:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 18:00:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fraser.adams@blueyonder.co.uk designates 81.103.221.47 as permitted sender) Received: from [81.103.221.47] (HELO mtaout01-winn.ispmail.ntl.com) (81.103.221.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 18:00:23 +0000 Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.3]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20111007180002.NQC13501.mtaout01-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net> for ; Fri, 7 Oct 2011 19:00:02 +0100 Received: from [82.33.36.91] (helo=[192.168.1.4]) by know-smtpout-4.server.virginmedia.net with esmtpa (Exim 4.63) (envelope-from ) id 1RCEiI-0004Mh-Ou for users@qpid.apache.org; Fri, 07 Oct 2011 19:00:02 +0100 Message-ID: <4E8F3E2C.1040905@blueyonder.co.uk> Date: Fri, 07 Oct 2011 19:00:12 +0100 From: Fraser Adams User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: Is it possible to set authentication to only authenticate consumers? References: <4E72452A.50709@blueyonder.co.uk> <4E7308E3.7080804@blueyonder.co.uk> <4E734780.30509@blueyonder.co.uk> <4E737ECC.2020509@redhat.com> <4E85EB31.5070602@blueyonder.co.uk> <4E89F3E9.9040601@blueyonder.co.uk> <4E8C1A2D.6080902@redhat.com> <4E8EDDF2.2010200@blueyonder.co.uk> <4E8EEB44.8030901@redhat.com> <4E8EF79F.8090609@blueyonder.co.uk> <4E8F2628.90907@redhat.com> <4E8F2DD8.9080704@blueyonder.co.uk> <4E8F3BEB.1080307@redhat.com> In-Reply-To: <4E8F3BEB.1080307@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=R50lirqlHffDPPkwUlkuVa99MrvKdVWo//yz83qex8g= c=1 sm=0 a=0ZzmyYADvgoA:10 a=Q0O5IUmHtJgA:10 a=3NElcqgl2aoA:10 a=8nJEP1OIZ-IA:10 a=LQyumWXMrHExyZBkCuMA:9 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Virus-Checked: Checked by ClamAV on apache.org Gordon Sim wrote: > On 10/07/2011 05:50 PM, Fraser Adams wrote: >> What I'd quite like to be able to do is to log, but not deny if a queue >> is created that's not one of a named set. I'm suspecting that I can't do >> that with acl and I might have to write a QMF client to do that. > > I think you are right, QMF may be the simplest way to go. You can > quite easily get events sent out for queue creation and could then > check the name against an expected set and log any deviation. Yeah, I suspect that it ought to be pretty easy to do this using qpid-printevents as a starting point. I've just had a quick look and I suspect that the only slight gotcha is to cope with the case where the broker gets restarted and a connection is made straight after. In this case qpid-printevents was only showing its own bind events. I suspect if I intercept the bind to the qpid.management exchange and use that to trigger a getObjects() for all queues/bindings/exchanges to cover that edge case. Thanks for all your help yet again!! Frase --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org