public class SecurityBasicPermissionSet extends Object implements SecurityPermissionSet
SecurityPermissionSet interface. Provides
convenient way to specify permission set in the XML configuration.| 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.
|
void |
setCachePermissions(Map<String,Collection<SecurityPermission>> cachePerms)
Setter for set cache permission map.
|
void |
setDefaultAllowAll(boolean dfltAllowAll)
Setter for set default allow all.
|
void |
setSystemPermissions(Collection<SecurityPermission> sysPerms)
Setter for set collection system permission.
|
void |
setTaskPermissions(Map<String,Collection<SecurityPermission>> taskPerms)
Setter for set task permission map.
|
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() |
public void setCachePermissions(Map<String,Collection<SecurityPermission>> cachePerms)
cachePerms - Cache permissions.public void setTaskPermissions(Map<String,Collection<SecurityPermission>> taskPerms)
taskPerms - Task permissions.public void setSystemPermissions(Collection<SecurityPermission> sysPerms)
sysPerms - System permissions.public void setDefaultAllowAll(boolean dfltAllowAll)
dfltAllowAll - Default allow all.public Map<String,Collection<SecurityPermission>> cachePermissions()
cachePermissions in interface SecurityPermissionSetpublic Map<String,Collection<SecurityPermission>> taskPermissions()
taskPermissions in interface SecurityPermissionSet@Nullable public Collection<SecurityPermission> systemPermissions()
systemPermissions in interface SecurityPermissionSetpublic boolean defaultAllowAll()
defaultAllowAll in interface SecurityPermissionSetTrue to allow all cache task operations if they were
not explicitly specified, false otherwise.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016