Interface Action
-
public interface Action
An instance of this class is passed to the isAllowed() method of an Authorizer to describe the action that is being authorized.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Action.Type
Action.Type represents various actions that can be permissioned by the EMS server.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDestination()
If a destination is associated with the request, this method returns its name as a string.Action.Type
getType()
Gets the kind of operation to be authorized.
-
-
-
Method Detail
-
getType
Action.Type getType()
Gets the kind of operation to be authorized. These types correspond to the permissions that can be granted in acl.conf- Returns:
- the type of operation
-
getDestination
java.lang.String getDestination()
If a destination is associated with the request, this method returns its name as a string.- Returns:
- name of the Topic or Queue
-
-