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
IOException
private void verifyAllowed(org.apache.hadoop.hbase.security.User user, TestRpcAccessChecks.Action action) throws Exception
Exception
private void verifyDenied(org.apache.hadoop.hbase.security.User user, TestRpcAccessChecks.Action action) throws Exception
Exception
private void verifiedDeniedServiceException(org.apache.hadoop.hbase.security.User user, TestRpcAccessChecks.Action action) throws Exception
Exception
private void verifyAdminCheckForAction(TestRpcAccessChecks.Action action) throws Exception
Exception
public void testEnableCatalogJanitor() throws Exception
Exception
public void testRunCatalogJanitor() throws Exception
Exception
public void testCleanerChoreRunning() throws Exception
Exception
public void testRunCleanerChore() throws Exception
Exception
public void testExecProcedure() throws Exception
Exception
public void testExecService() throws Exception
Exception
public void testExecProcedureWithRet() throws Exception
Exception
public void testNormalize() throws Exception
Exception
public void testSetNormalizerRunning() throws Exception
Exception
public void testExecRegionServerService() throws Exception
Exception
public void testTableFlush() throws Exception
Exception
public void testTableFlushAndSnapshot() throws Exception
Exception
public void testGrantDeniedOnSuperUsersGroups()
public void testRevokeDeniedOnSuperUsersGroups()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.