public class TestNamespaceCommands extends SecureTestUtil
SecureTestUtil.AccessTestAction, SecureTestUtil.MasterSyncObserver
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.security.access.AccessController |
ACCESS_CONTROLLER |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment |
CP_ENV |
private static String |
GROUP_ADMIN |
private static String |
GROUP_CREATE |
private static String |
GROUP_NS_ADMIN |
private static String |
GROUP_READ |
private static String |
GROUP_WRITE |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.security.User |
SUPERUSER |
private static byte[] |
TEST_FAMILY |
private static String |
TEST_NAMESPACE |
private static String |
TEST_NAMESPACE2 |
private static String |
TEST_TABLE |
private static org.apache.hadoop.hbase.security.User |
USER_GLOBAL_ADMIN |
private static org.apache.hadoop.hbase.security.User |
USER_GLOBAL_CREATE |
private static org.apache.hadoop.hbase.security.User |
USER_GLOBAL_EXEC |
private static org.apache.hadoop.hbase.security.User |
USER_GLOBAL_READ |
private static org.apache.hadoop.hbase.security.User |
USER_GLOBAL_WRITE |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_ADMIN |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_CREATE |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_NS_ADMIN |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_READ |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_WRITE |
private static org.apache.hadoop.hbase.security.User |
USER_NS_ADMIN |
private static org.apache.hadoop.hbase.security.User |
USER_NS_CREATE |
private static org.apache.hadoop.hbase.security.User |
USER_NS_EXEC |
private static org.apache.hadoop.hbase.security.User |
USER_NS_READ |
private static org.apache.hadoop.hbase.security.User |
USER_NS_WRITE |
private static org.apache.hadoop.hbase.security.User |
USER_TABLE_CREATE |
private static org.apache.hadoop.hbase.security.User |
USER_TABLE_WRITE |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestNamespaceCommands() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
beforeClass() |
void |
testAclTableEntries() |
void |
testCreateAndDeleteNamespace() |
void |
testCreateTableWithNamespace() |
void |
testGetNamespaceDescriptor() |
void |
testGrantRevoke() |
void |
testListNamespaces() |
void |
testModifyNamespace() |
checkGlobalPerms, checkTablePerms, checkTablePerms, configureSuperuser, convertToNamespace, createNamespace, createTable, createTable, createTable, createTable, createTable, deleteNamespace, deleteTable, deleteTable, enableSecurity, grantGlobal, grantGlobal, grantGlobalUsingAccessControlClient, grantOnNamespace, grantOnNamespace, grantOnNamespaceUsingAccessControlClient, grantOnTable, grantOnTable, grantOnTableUsingAccessControlClient, revokeFromNamespace, revokeFromNamespace, revokeFromNamespaceUsingAccessControlClient, revokeFromTable, revokeFromTable, revokeFromTableUsingAccessControlClient, revokeGlobal, revokeGlobal, revokeGlobalUsingAccessControlClient, verifyAllowed, verifyAllowed, verifyAllowed, verifyConfiguration, verifyDenied, verifyDenied, verifyIfEmptyList, verifyIfNull
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility UTIL
private static final org.slf4j.Logger LOG
private static String TEST_NAMESPACE
private static String TEST_NAMESPACE2
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment CP_ENV
private static org.apache.hadoop.hbase.security.access.AccessController ACCESS_CONTROLLER
private static org.apache.hadoop.hbase.security.User SUPERUSER
private static org.apache.hadoop.hbase.security.User USER_GLOBAL_ADMIN
private static org.apache.hadoop.hbase.security.User USER_GLOBAL_CREATE
private static org.apache.hadoop.hbase.security.User USER_GLOBAL_WRITE
private static org.apache.hadoop.hbase.security.User USER_GLOBAL_READ
private static org.apache.hadoop.hbase.security.User USER_GLOBAL_EXEC
private static org.apache.hadoop.hbase.security.User USER_NS_ADMIN
private static org.apache.hadoop.hbase.security.User USER_NS_CREATE
private static org.apache.hadoop.hbase.security.User USER_NS_WRITE
private static org.apache.hadoop.hbase.security.User USER_NS_READ
private static org.apache.hadoop.hbase.security.User USER_NS_EXEC
private static org.apache.hadoop.hbase.security.User USER_TABLE_WRITE
private static org.apache.hadoop.hbase.security.User USER_TABLE_CREATE
private static final String GROUP_ADMIN
private static final String GROUP_NS_ADMIN
private static final String GROUP_CREATE
private static final String GROUP_READ
private static final String GROUP_WRITE
private static org.apache.hadoop.hbase.security.User USER_GROUP_ADMIN
private static org.apache.hadoop.hbase.security.User USER_GROUP_NS_ADMIN
private static org.apache.hadoop.hbase.security.User USER_GROUP_CREATE
private static org.apache.hadoop.hbase.security.User USER_GROUP_READ
private static org.apache.hadoop.hbase.security.User USER_GROUP_WRITE
private static String TEST_TABLE
private static byte[] TEST_FAMILY
public TestNamespaceCommands()
public static void beforeClass() throws Exception
Exception
public static void afterClass() throws Exception
Exception
public void testAclTableEntries() throws Exception
Exception
public void testModifyNamespace() throws Exception
Exception
public void testCreateAndDeleteNamespace() throws Exception
Exception
public void testGetNamespaceDescriptor() throws Exception
Exception
public void testListNamespaces() throws Exception
Exception
public void testGrantRevoke() throws Exception
Exception
public void testCreateTableWithNamespace() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.