com.hazelcast.security
Interface IPermissionPolicy


public interface IPermissionPolicy

IPermissionPolicy is used to determine any Subject's permissions to perform a security sensitive Hazelcast operation.


Method Summary
 void configure(SecurityConfig securityConfig, Properties properties)
          Configures IPermissionPolicy.
 void destroy()
          Destroys IPermissionPolicy.
 PermissionCollection getPermissions(Subject subject, Class<? extends Permission> type)
          Determines permissions of subject.
 

Method Detail

configure

void configure(SecurityConfig securityConfig,
               Properties properties)
Configures IPermissionPolicy.

Parameters:
securityConfig - Hazelcast SecurityConfig
properties -

getPermissions

PermissionCollection getPermissions(Subject subject,
                                    Class<? extends Permission> type)
Determines permissions of subject.

Parameters:
subject -
type - of permissions in PermissionCollection
Returns:
PermissionCollection containing subject's permissions

destroy

void destroy()
Destroys IPermissionPolicy.



Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.