Package org.apache.activemq.shiro.authz
Class DestinationAction
java.lang.Object
org.apache.activemq.shiro.authz.DestinationAction
- All Implemented Interfaces:
Action
A
DestinationAction represents behavior being taken on a particular ActiveMQDestination, such as
creation, removal, and reading messages from it or writing messages to it. The exact behavior being taken on the
specific destination is represented as a verb property, which is one of
the following string tokens:
| Verb | Description |
|---|---|
create |
Create a specific destination. |
remove |
Remove a specific destination. |
read |
Read (consume) messages from a specific destination. |
write |
Write messages to a specific destination. |
- Since:
- 5.10.0
-
Constructor Summary
ConstructorsConstructorDescriptionDestinationAction(ConnectionContext connectionContext, org.apache.activemq.command.ActiveMQDestination destination, String verb) -
Method Summary
-
Constructor Details
-
DestinationAction
public DestinationAction(ConnectionContext connectionContext, org.apache.activemq.command.ActiveMQDestination destination, String verb)
-
-
Method Details
-
getConnectionContext
-
getDestination
public org.apache.activemq.command.ActiveMQDestination getDestination() -
getVerb
-
toString
Description copied from interface:ActionReturns a human readable string that indicates what this action is, for example "open doors" or "delete file /usr/local/foo"
-