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 EC96910B0E for ; Thu, 10 Oct 2013 09:06:31 +0000 (UTC) Received: (qmail 20717 invoked by uid 500); 10 Oct 2013 09:06:25 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 20695 invoked by uid 500); 10 Oct 2013 09:06:24 -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 20630 invoked by uid 99); 10 Oct 2013 09:06:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Oct 2013 09:06:20 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gsim@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Oct 2013 09:06:14 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9A95r0C015094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 10 Oct 2013 05:05:53 -0400 Received: from [10.36.116.89] (ovpn-116-89.ams2.redhat.com [10.36.116.89]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r9A95pbw002956 for ; Thu, 10 Oct 2013 05:05:52 -0400 Message-ID: <52566E3A.90603@redhat.com> Date: Thu, 10 Oct 2013 10:07:06 +0100 From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham (USA), Matt Parsons (USA), Charlie Peters (USA), Paul Hickey (Ireland) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: Authenticating with AMQP Messenger API References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Virus-Checked: Checked by ClamAV on apache.org On 10/09/2013 09:35 PM, Marko Asplund wrote: > Hi, > > What's the correct way to authenticate to an AMQP server using the > Messenger API? > I've tried including authentication information in the AMQP address as > described in org.apache.qpid.proton.messenger.Messenger javadoc like this: > > amqp://user1:pwd1@127.0.0.1:5672/topic://test.foo The java version of the messenger API currently only supports ANONYMOUS and not PLAIN which would be needed to authenticate with a username and password. There is a JIRA open for that: https://issues.apache.org/jira/browse/PROTON-421 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org