public interface IPermissionPolicy
Subject
's
permissions to perform a security sensitive Hazelcast operation.Modifier and Type | Method and Description |
---|---|
void |
configure(Config config,
Properties properties)
Configures
IPermissionPolicy . |
void |
destroy()
Destroys
IPermissionPolicy . |
PermissionCollection |
getPermissions(Subject subject,
Class<? extends Permission> type)
Determines permissions of subject.
|
void |
refreshPermissions(Set<PermissionConfig> permissionConfigs)
Replaces existing permissions with given set of permissions.
|
void configure(Config config, Properties properties)
IPermissionPolicy
.config
- Hazelcast Config
properties
- PermissionCollection getPermissions(Subject subject, Class<? extends Permission> type)
subject
- the Subject
type
- of permissions in PermissionCollectionvoid refreshPermissions(Set<PermissionConfig> permissionConfigs)
refreshPermissions
may be executed concurrently with getPermissions
.permissionConfigs
- the new set of permissions to applyvoid destroy()
IPermissionPolicy
.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.