public class SecurityBasicPermissionSet extends Object implements SecurityPermissionSet
SecurityPermissionSet
interface.
Provides convenient way to specify permission set in the XML configuration.Modifier and Type | Field and Description |
---|---|
static String |
TRACING_PERMISSIONS_SET
Prefix key taht is used to track tracing permissions.
|
Constructor and Description |
---|
SecurityBasicPermissionSet() |
Modifier and Type | Method and Description |
---|---|
Map<String,Collection<SecurityPermission>> |
cachePermissions()
Map of cache names to cache permissions.
|
boolean |
defaultAllowAll()
Flag indicating whether to allow or deny cache and task operations
if they were not explicitly specified.
|
boolean |
equals(Object o) |
int |
hashCode() |
Map<String,Collection<SecurityPermission>> |
servicePermissions()
Map of service names to service permissions.
|
void |
setCachePermissions(Map<String,Collection<SecurityPermission>> cachePermissions)
Setter for set cache permission map.
|
void |
setDefaultAllowAll(boolean dfltAllowAll)
Setter for set default allow all.
|
void |
setServicePermissions(Map<String,Collection<SecurityPermission>> servicePermissions)
Setter for set service permission map.
|
void |
setSystemPermissions(Collection<SecurityPermission> systemPermissions)
Setter for set collection system permission.
|
void |
setTaskPermissions(Map<String,Collection<SecurityPermission>> taskPermissions)
Setter for set task permission map.
|
void |
setTracingPermissions(Collection<SecurityPermission> tracingPermissions)
Setter for set tracing permissions.
|
@Nullable Collection<SecurityPermission> |
systemPermissions()
Collection of system-wide permissions (events enable/disable, Visor task execution).
|
Map<String,Collection<SecurityPermission>> |
taskPermissions()
Map of task names to task permissions.
|
String |
toString() |
Collection<SecurityPermission> |
tracingPermissions()
Collection of tracing permissions.
|
public static final String TRACING_PERMISSIONS_SET
public void setCachePermissions(Map<String,Collection<SecurityPermission>> cachePermissions)
cachePermissions
- Cache permissions.public void setTaskPermissions(Map<String,Collection<SecurityPermission>> taskPermissions)
taskPermissions
- Task permissions.public void setServicePermissions(Map<String,Collection<SecurityPermission>> servicePermissions)
servicePermissions
- Service permissions.public void setTracingPermissions(Collection<SecurityPermission> tracingPermissions)
tracingPermissions
- Tracing permissions.public void setSystemPermissions(Collection<SecurityPermission> systemPermissions)
systemPermissions
- System permissions.public void setDefaultAllowAll(boolean dfltAllowAll)
dfltAllowAll
- Default allow all.public Map<String,Collection<SecurityPermission>> cachePermissions()
cachePermissions
in interface SecurityPermissionSet
public Map<String,Collection<SecurityPermission>> taskPermissions()
taskPermissions
in interface SecurityPermissionSet
public Map<String,Collection<SecurityPermission>> servicePermissions()
servicePermissions
in interface SecurityPermissionSet
public Collection<SecurityPermission> tracingPermissions()
tracingPermissions
in interface SecurityPermissionSet
@Nullable public @Nullable Collection<SecurityPermission> systemPermissions()
systemPermissions
in interface SecurityPermissionSet
null
if none).public boolean defaultAllowAll()
defaultAllowAll
in interface SecurityPermissionSet
True
to allow all cache task operations if they were
not explicitly specified, false
otherwise.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024