Solved

ActiveMQ and 'admin' authorization

Posted on 2014-04-03
1
225 Views
Last Modified: 2014-04-04
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
Comment
Question by:Anthony Lucia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 39976950
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question