Class ActionConstants
java.lang.Object
com.hazelcast.security.permission.ActionConstants
public final class ActionConstants extends Object
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_ACQUIRE
static String
ACTION_ADD
static String
ACTION_AGGREGATE
static String
ACTION_ALL
static String
ACTION_CREATE
static String
ACTION_DESTROY
static String
ACTION_INDEX
static String
ACTION_INTERCEPT
static String
ACTION_LISTEN
static String
ACTION_LOCK
static String
ACTION_MODIFY
static String
ACTION_PROJECTION
static String
ACTION_PUBLISH
static String
ACTION_PUT
static String
ACTION_READ
static String
ACTION_RELEASE
static String
ACTION_REMOVE
static String
ACTION_USER_CODE_DEPLOY
static String
LISTENER_INSTANCE
static String
LISTENER_MEMBER
static String
LISTENER_MIGRATION
-
Method Summary
Modifier and Type Method Description static Permission
getPermission(String name, String serviceName, String... actions)
Creates a permission
-
Field Details
-
ACTION_ALL
- See Also:
- Constant Field Values
-
ACTION_CREATE
- See Also:
- Constant Field Values
-
ACTION_DESTROY
- See Also:
- Constant Field Values
-
ACTION_MODIFY
- See Also:
- Constant Field Values
-
ACTION_READ
- See Also:
- Constant Field Values
-
ACTION_REMOVE
- See Also:
- Constant Field Values
-
ACTION_LOCK
- See Also:
- Constant Field Values
-
ACTION_LISTEN
- See Also:
- Constant Field Values
-
ACTION_RELEASE
- See Also:
- Constant Field Values
-
ACTION_ACQUIRE
- See Also:
- Constant Field Values
-
ACTION_PUT
- See Also:
- Constant Field Values
-
ACTION_ADD
- See Also:
- Constant Field Values
-
ACTION_INDEX
- See Also:
- Constant Field Values
-
ACTION_INTERCEPT
- See Also:
- Constant Field Values
-
ACTION_PUBLISH
- See Also:
- Constant Field Values
-
ACTION_AGGREGATE
- See Also:
- Constant Field Values
-
ACTION_PROJECTION
- See Also:
- Constant Field Values
-
ACTION_USER_CODE_DEPLOY
- See Also:
- Constant Field Values
-
LISTENER_INSTANCE
- See Also:
- Constant Field Values
-
LISTENER_MEMBER
- See Also:
- Constant Field Values
-
LISTENER_MIGRATION
- See Also:
- Constant Field Values
-
-
Method Details
-
getPermission
Creates a permission- Parameters:
name
- the permission nameserviceName
- the service nameactions
- the actions- Returns:
- the created Permission
- Throws:
IllegalArgumentException
- if there is no service found with the given serviceName.
-