yes. this is authorization to create topics/queues
pradeep wrote:
One more question.
Attributes
read - who can read from a destination
write - who can write to a destination
admin - what does this mean ? ability to create queue/topic.
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
<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"
/>