Package org.apache.activemq.shiro.authz
Class DestinationAction
- java.lang.Object
-
- org.apache.activemq.shiro.authz.DestinationAction
-
- All Implemented Interfaces:
Action
public class DestinationAction extends Object implements Action
ADestinationAction
represents behavior being taken on a particularActiveMQDestination
, such as creation, removal, and reading messages from it or writing messages to it. The exact behavior being taken on the specificdestination
is represented as averb
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
Constructors Constructor Description DestinationAction(ConnectionContext connectionContext, ActiveMQDestination destination, String verb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionContext
getConnectionContext()
ActiveMQDestination
getDestination()
String
getVerb()
String
toString()
Returns a human readable string that indicates what this action is, for example "open doors" or "delete file /usr/local/foo"
-
-
-
Constructor Detail
-
DestinationAction
public DestinationAction(ConnectionContext connectionContext, ActiveMQDestination destination, String verb)
-
-
Method Detail
-
getConnectionContext
public ConnectionContext getConnectionContext()
-
getDestination
public ActiveMQDestination getDestination()
-
getVerb
public String getVerb()
-
-