[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

ActiveMQ and 'admin' authorization

I am reading this link:

http://activemq.apache.org/security.html 

Which describes admin authority as:

You can lazily create the destination if it does not yet exist. This allows you fine grained control over which new destinations can be dynamically created in what part of the queue/topic hierarchy 

Open in new window


I assume that this means that admin authority is the authority to create queues  (is that correct), which would explain why I can create queues from the console when I log in as admin/admin.

What does it mean to 'lazily create a destination'.

Is there anything else I am missing other than the creation of queues on the admin authority

njd
What does
0
Anthony Lucia
Asked:
Anthony Lucia
1 Solution
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
Yeah, the use of the word 'lazily' here is a bit redundant, as all queues in ActiveMQ you could consider as lazily created, ie. you don't define somewhere in some ActiveMQ configuration what queues should be present, instead they are created on the fly as clients attempt to produce to or consume from a queue.

So what it is basically saying, is that say a user only has write permission to a queue, that user could produce message (ie. write) to that queue IF it already exists otherwise they would get an error. If they had both write & admin permissions, IF the queue didn't exist it would be created automatically before the sent the message to it.

Does that explain things?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now