activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pradeep <pradeepzm...@gmail.com>
Subject Re: tempdestination authorization entry error
Date Wed, 06 Dec 2006 06:10:22 GMT

Thanks for yoy excellent support so far.

Is '.' an escape character. All my queues are in  the format com.xxx. I had
an entry

 <authorizationEntry queue="com>" read="users" write="users" admin="users" 
/>

I got authorization error.

I replaced it with
 <authorizationEntry queue="com.>" read="users" write="users" admin="users" 
/>

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. 
>      <authorizationEntry queue=">" read="admin" write="admin" 
> 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 ?
>>>> <authorizationEntry queue=">" read="admins" write="admins"
>>>> admin="admins"
>>>> />
>>>>   
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/tempdestination-authorization-entry-error-tf2759609.html#a7714145
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message