com.hazelcast.config
Class PermissionConfig
java.lang.Object
com.hazelcast.config.PermissionConfig
public class PermissionConfig
- extends Object
Contains the configuration for a permission.
PermissionConfig
public PermissionConfig()
PermissionConfig
public PermissionConfig(PermissionConfig.PermissionType type,
String name,
String principal)
addEndpoint
public PermissionConfig addEndpoint(String endpoint)
addAction
public PermissionConfig addAction(String action)
getType
public PermissionConfig.PermissionType getType()
getName
public String getName()
getPrincipal
public String getPrincipal()
getEndpoints
public Set<String> getEndpoints()
getActions
public Set<String> getActions()
setType
public PermissionConfig setType(PermissionConfig.PermissionType type)
setName
public PermissionConfig setName(String name)
setPrincipal
public PermissionConfig setPrincipal(String principal)
setActions
public PermissionConfig setActions(Set<String> actions)
setEndpoints
public PermissionConfig setEndpoints(Set<String> endpoints)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.