public interface SecurityContext
Modifier and Type | Method and Description |
---|---|
boolean |
cacheOperationAllowed(String cacheName,
SecurityPermission perm)
Checks whether cache operation is allowed.
|
SecuritySubject |
subject() |
boolean |
systemOperationAllowed(SecurityPermission perm)
Checks whether system-wide permission is allowed (excluding Visor task operations).
|
boolean |
taskOperationAllowed(String taskClsName,
SecurityPermission perm)
Checks whether task operation is allowed.
|
SecuritySubject subject()
boolean taskOperationAllowed(String taskClsName, SecurityPermission perm)
taskClsName
- Task class name.perm
- Permission to check.True
if task operation is allowed.boolean cacheOperationAllowed(String cacheName, SecurityPermission perm)
cacheName
- Cache name.perm
- Permission to check.True
if cache operation is allowed.boolean systemOperationAllowed(SecurityPermission perm)
perm
- Permission to check.True
if system operation is allowed.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017