Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 51770 invoked from network); 6 Dec 2006 09:13:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 09:13:40 -0000 Received: (qmail 96789 invoked by uid 500); 6 Dec 2006 09:13:47 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 96771 invoked by uid 500); 6 Dec 2006 09:13:47 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 96762 invoked by uid 99); 6 Dec 2006 09:13:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 01:13:47 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.235.254.11] (HELO exodus.exist.com) (209.235.254.11) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 01:13:35 -0800 Received: from [192.168.241.167] ([58.71.14.245]) (authenticated bits=0) by exodus.exist.com (8.13.1/8.13.1) with ESMTP id kB69CxuV012341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 6 Dec 2006 04:13:03 -0500 Message-ID: <457689A3.2090205@exist.com> Date: Wed, 06 Dec 2006 17:13:07 +0800 From: Jonas Lim User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: activemq-users@geronimo.apache.org Subject: Re: tempdestination authorization entry error References: <7694164.post@talk.nabble.com> <45753012.3080204@exist.com> <7698937.post@talk.nabble.com> <45758EC9.30500@exist.com> <7714145.post@talk.nabble.com> In-Reply-To: <7714145.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org yes. the "." is use to seperate the names in a path. In your example, you can try using "com.xxx.>" and it should be able to give authorization to "com.xxx" or "com.xxx." For more activemq wildcard support : http://www.activemq.org/site/wildcards.html Regards, Jonas pradeep wrote: > Thanks for yoy excellent support so far. > > Is '.' an escape character. All my queues are in the format com.xxx. I had > an entry > > /> > > I got authorization error. > > I replaced it with > /> > > It worked. Note the '.' after com. > > > > > jlim wrote: > >> >> Yes. You'll have to provide authorization for all destinations that >> you'll be using. What you probably want to do is to provide >> read/write/admin access to all destinations for your admin users eg. >> > admin="admin" /> >> >> then just provide authorization entries for specific destinations for >> your other users >> >> Regards, >> Jonas >> >> >> >> pradeep wrote: >> >>> One more question - Do Queues and topics not mentioned in >>> authorizationEntry >>> required authentication ? >>> pradeep >>> >>> >>> jlim wrote: >>> >>> >>>> Hi, >>>> >>>> The Tempdestination authorization entry was just added on the 4.2 trunk >>>> (revision 479639). I don't believe it made it to the 4.1 build. You can >>>> checkout the latest from trunk or download a nightly build >>>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/4.2-incubator-SNAPSHOT/ >>>> >>>> The ">" is a wildcard. You can use it as is to indicate all >>>> queue/topic or you can append it to a destination name (ie. USERS.>) >>>> indicating all destinations that starts with "USERS." >>>> >>>> >>>> Regard, >>>> Jonas >>>> >>>> pradeep wrote: >>>> >>>> >>>>> I am using the Tempdestination authorization entry as mentioned in >>>>> http://activemq.org/site/security.html. >>>>> >>>>> I am getting this error when starting embeded activemq server >>>>> Failed to load type: tempDestinationAuthorizationEntry. Reason: >>>>> java.lang.ClassNotFoundException: tempDestinationAuthorizationEntry; >>>>> nested >>>>> exception is java.lang.ClassNotFoundException: >>>>> tempDestinationAuthorizationEntry >>>>> >>>>> I am using activeMQ 4.1 >>>>> >>>>> Also what does ">" right angle bracker indicate in the below tag ? >>>>> >>>> admin="admins" >>>>> /> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> > >