public class AuthenticationAclBasicProvider extends Object implements AuthenticationAclProvider
Here is an example of JSON permission specification:
{ { "cache":"partitioned", "permissions":["CACHE_PUT", "CACHE_REMOVE", "CACHE_READ"] }, { "cache":"*", "permissions":["CACHE_READ"] }, { "task":"org.mytasks.*", "permissions":["TASK_EXECUTE"] }, "defaultAllow":"false" }
Constructor and Description |
---|
AuthenticationAclBasicProvider(Map<SecurityCredentials,String> perms)
Creates basic ACL provider.
|
Modifier and Type | Method and Description |
---|---|
Map<SecurityCredentials,SecurityPermissionSet> |
acl()
Gets per-user access control map.
|
static AuthenticationAclBasicProvider |
createFrom(Map<SecurityCredentials,SecurityPermissionSet> perms) |
public AuthenticationAclBasicProvider(Map<SecurityCredentials,String> perms) throws IgniteCheckedException
perms
- Mapping from security credentials to JSON specification of permissions.IgniteCheckedException
public static AuthenticationAclBasicProvider createFrom(Map<SecurityCredentials,SecurityPermissionSet> perms)
public Map<SecurityCredentials,SecurityPermissionSet> acl()
acl
in interface AuthenticationAclProvider
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024