public class TestUnloadAccessController extends SecureTestUtil
SecureTestUtil.AccessTestAction, SecureTestUtil.MasterSyncObserver
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.security.access.Permission |
permission |
private static org.apache.hadoop.hbase.TableName |
TEST_TABLE |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestUnloadAccessController() |
Modifier and Type | Method and Description |
---|---|
private void |
checkException(Throwable e) |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testGetUserPermissions() |
void |
testGrant() |
void |
testHasUserPermission() |
void |
testRevoke() |
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 final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.TableName TEST_TABLE
private static org.apache.hadoop.hbase.security.access.Permission permission
private static org.apache.hadoop.hbase.client.Admin admin
public TestUnloadAccessController()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testGrant()
public void testRevoke()
public void testGetUserPermissions()
public void testHasUserPermission()
private void checkException(Throwable e)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.