public class TestRpcAccessChecks extends Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static interface |
TestRpcAccessChecks.Action |
static class |
TestRpcAccessChecks.DummyCpService |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static String |
GROUP_ADMIN |
org.junit.rules.TestName |
TEST_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
private static org.apache.hadoop.hbase.security.User |
USER_ADMIN |
private static org.apache.hadoop.hbase.security.User |
USER_ADMIN_NOT_SUPER |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_ADMIN |
private static org.apache.hadoop.hbase.security.User |
USER_IN_SUPERGROUPS |
private static org.apache.hadoop.hbase.security.User |
USER_NON_ADMIN |
| Constructor and Description |
|---|
TestRpcAccessChecks() |
public static final HBaseClassTestRule CLASS_RULE
public final org.junit.rules.TestName TEST_NAME
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.security.User USER_ADMIN
private static org.apache.hadoop.hbase.security.User USER_NON_ADMIN
private static org.apache.hadoop.hbase.security.User USER_IN_SUPERGROUPS
private static org.apache.hadoop.hbase.security.User USER_ADMIN_NOT_SUPER
private static final String GROUP_ADMIN
private static org.apache.hadoop.hbase.security.User USER_GROUP_ADMIN
public TestRpcAccessChecks()
private static void enableSecurity(org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionprivate void verifyAllowed(org.apache.hadoop.hbase.security.User user, TestRpcAccessChecks.Action action) throws Exception
Exceptionprivate void verifyDenied(org.apache.hadoop.hbase.security.User user, TestRpcAccessChecks.Action action) throws Exception
Exceptionprivate void verifiedDeniedServiceException(org.apache.hadoop.hbase.security.User user, TestRpcAccessChecks.Action action) throws Exception
Exceptionprivate void verifyAdminCheckForAction(TestRpcAccessChecks.Action action) throws Exception
Exceptionpublic void testEnableCatalogJanitor() throws Exception
Exceptionpublic void testRunCatalogJanitor() throws Exception
Exceptionpublic void testCleanerChoreRunning() throws Exception
Exceptionpublic void testRunCleanerChore() throws Exception
Exceptionpublic void testExecProcedure() throws Exception
Exceptionpublic void testExecService() throws Exception
Exceptionpublic void testExecProcedureWithRet() throws Exception
Exceptionpublic void testNormalize() throws Exception
Exceptionpublic void testSetNormalizerRunning() throws Exception
Exceptionpublic void testExecRegionServerService() throws Exception
Exceptionpublic void testTableFlush() throws Exception
Exceptionpublic void testTableFlushAndSnapshot() throws Exception
Exceptionpublic void testGrantDeniedOnSuperUsersGroups()
public void testRevokeDeniedOnSuperUsersGroups()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.