From users-return-28828-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Sep 14 10:57:57 2011 Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 AC6A27FB4 for ; Wed, 14 Sep 2011 10:57:57 +0000 (UTC) Received: (qmail 39858 invoked by uid 500); 14 Sep 2011 10:57:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 39822 invoked by uid 500); 14 Sep 2011 10:57:57 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 39812 invoked by uid 99); 14 Sep 2011 10:57:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 10:57:57 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lbvenkatesh@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 10:57:52 +0000 Received: by qyg14 with SMTP id 14so1589845qyg.2 for ; Wed, 14 Sep 2011 03:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GKOT3JCu0CdK18x0k3GAAECftopGGqK57EwLIQQxQOs=; b=T9Ewdp/Cs0RQ6BEuiKXfIjBk3pVgGg8i4jY7b4W7TUWz30Hn3jBsRCThlHfWYQyteR 87kNO5m5HFSTuFF9/LoPtclR+33RkSxqcBBJSc8+9uE6UKNCO2dulunZgcticrdQGwLD M1Evu1zuTXe+/hSGeApg3V8qSUMGlFdQZryTY= MIME-Version: 1.0 Received: by 10.229.39.21 with SMTP id d21mr574026qce.136.1315997851834; Wed, 14 Sep 2011 03:57:31 -0700 (PDT) Received: by 10.229.238.131 with HTTP; Wed, 14 Sep 2011 03:57:31 -0700 (PDT) In-Reply-To: <0EB2CCB5-B848-4F36-8A4B-E5D32F86BCFE@fusesource.com> References: <0EB2CCB5-B848-4F36-8A4B-E5D32F86BCFE@fusesource.com> Date: Wed, 14 Sep 2011 16:27:31 +0530 Message-ID: Subject: Re: HermesJMS connects to ActiveMQ Connections without username and password From: Venkatesh Laguduva To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=00163641756f7bd86a04ace4a0e2 --00163641756f7bd86a04ace4a0e2 Content-Type: text/plain; charset=ISO-8859-1 Thanks Torsten, it worked Thanks & Regards Venkatesh Laguduva On Wed, Sep 14, 2011 at 2:34 PM, Torsten Mielke wrote: > By default the broker does not authenticate connections from JMS clients. > If you require this, then you need to enable authentication in the broker. > See http://activemq.apache.org/security.html > > > > Torsten Mielke > torsten@fusesource.com > tmielke@blogspot.com > > On Sep 14, 2011, at 6:06 AM, Venkatesh Laguduva wrote: > > > Hi, > > I have a created a ActiveMQConnectionFactory with the following > properties: > > brokerUrl=tcp://localhost:xxxxx username='testx' password='testy' > > > > When I tried to connect the connections created using the above ActiveMQ > > connection factory from HermesJMS, they connect without the username and > > password. > > > > Is this a bug? if not, how to fail it when the username and password were > > not given? > > > > Thanks & Regards > > Venkatesh Laguduva > > > > > --00163641756f7bd86a04ace4a0e2--