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.
|
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.
|
@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() |
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 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
@Nullable public @Nullable Collection<SecurityPermission> systemPermissions()
systemPermissions
in interface SecurityPermissionSet
public boolean defaultAllowAll()
defaultAllowAll
in interface SecurityPermissionSet
True
to allow all cache task operations if they were
not explicitly specified, false
otherwise.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019