public class ResourceType extends Object
Resource types for use by Authorizer| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG |
static String |
DATASOURCE |
static String |
EXTERNAL |
static String |
QUERY_CONTEXT |
static String |
STATE |
static String |
SYSTEM_TABLE |
static String |
VIEW |
| Constructor and Description |
|---|
ResourceType() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
knownTypes()
Set of 'known'
Resource types which have been registered with registerResourceType(java.lang.String), for use by
utility methods looking to construct permission sets for all types (e.g. |
static void |
registerResourceType(String type)
'register' a 'known' type of
Resource to make available via knownTypes() |
public static final String DATASOURCE
public static final String VIEW
public static final String CONFIG
public static final String STATE
public static final String SYSTEM_TABLE
public static final String QUERY_CONTEXT
public static final String EXTERNAL
public static Set<String> knownTypes()
Resource types which have been registered with registerResourceType(java.lang.String), for use by
utility methods looking to construct permission sets for all types (e.g. 'superuser' permission set)public static void registerResourceType(String type)
Resource to make available via knownTypes()Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.