public class PermissionConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PermissionConfig.PermissionType
Type of permission
|
Constructor and Description |
---|
PermissionConfig() |
PermissionConfig(PermissionConfig.PermissionType type,
String name,
String principal) |
Modifier and Type | Method and Description |
---|---|
PermissionConfig |
addAction(String action) |
PermissionConfig |
addEndpoint(String endpoint) |
Set<String> |
getActions() |
Set<String> |
getEndpoints() |
String |
getName() |
String |
getPrincipal() |
PermissionConfig.PermissionType |
getType() |
PermissionConfig |
setActions(Set<String> actions) |
PermissionConfig |
setEndpoints(Set<String> endpoints) |
PermissionConfig |
setName(String name) |
PermissionConfig |
setPrincipal(String principal) |
PermissionConfig |
setType(PermissionConfig.PermissionType type) |
String |
toString() |
public PermissionConfig()
public PermissionConfig(PermissionConfig.PermissionType type, String name, String principal)
public PermissionConfig addEndpoint(String endpoint)
public PermissionConfig addAction(String action)
public PermissionConfig.PermissionType getType()
public String getName()
public String getPrincipal()
public PermissionConfig setType(PermissionConfig.PermissionType type)
public PermissionConfig setName(String name)
public PermissionConfig setPrincipal(String principal)
public PermissionConfig setActions(Set<String> actions)
public PermissionConfig setEndpoints(Set<String> endpoints)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.