com.hazelcast.security.permission
Class InstancePermission
java.lang.Object
java.security.Permission
com.hazelcast.security.permission.ClusterPermission
com.hazelcast.security.permission.InstancePermission
- All Implemented Interfaces:
- Serializable, Guard
- Direct Known Subclasses:
- AtomicLongPermission, AtomicReferencePermission, CountDownLatchPermission, ExecutorServicePermission, ListPermission, LockPermission, MapPermission, MapReducePermission, QueuePermission, ReplicatedMapPermission, SemaphorePermission, TopicPermission
public abstract class InstancePermission
- extends ClusterPermission
- See Also:
- Serialized Form
NONE
protected static final int NONE
- See Also:
- Constant Field Values
CREATE
protected static final int CREATE
- See Also:
- Constant Field Values
DESTROY
protected static final int DESTROY
- See Also:
- Constant Field Values
mask
protected final int mask
actions
protected final String actions
InstancePermission
public InstancePermission(String name,
String... actions)
initMask
protected abstract int initMask(String[] actions)
- init mask
implies
public boolean implies(Permission permission)
- Specified by:
implies
in class Permission
getActions
public String getActions()
- Specified by:
getActions
in class Permission
hashCode
public int hashCode()
- Overrides:
hashCode
in class ClusterPermission
equals
public boolean equals(Object obj)
- Overrides:
equals
in class ClusterPermission
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.