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