Class TestAccessController2
java.lang.Object
org.apache.hadoop.hbase.security.access.SecureTestUtil
org.apache.hadoop.hbase.security.access.TestAccessController2
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.security.access.SecureTestUtil
SecureTestUtil.AccessTestAction, SecureTestUtil.MasterSyncObserver
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static final org.slf4j.Logger
private String
private static final byte[]
private static final byte[]
private static org.apache.hadoop.hbase.client.Connection
The systemUserConnection created here is tied to the system user.private org.apache.hadoop.hbase.TableName
private static final byte[]
private static byte[]
private static final byte[]
private static final byte[]
private static byte[]
private static byte[]
private static HBaseTestingUtil
private static final byte[]
private static final String
private static String
private static final String
private static org.apache.hadoop.hbase.security.User
private static org.apache.hadoop.hbase.security.User
private String
private static final byte[]
private static final byte[]
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.security.access.SecureTestUtil
checkGlobalPerms, checkTablePerms, checkTablePerms, configureSuperuser, convertToNamespace, createNamespace, createTable, createTable, 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
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_ROW
-
TEST_FAMILY
-
TEST_QUALIFIER
-
TEST_VALUE
-
TEST_UTIL
-
conf
-
systemUserConnection
The systemUserConnection created here is tied to the system user. In case, you are planning to create AccessTestAction, DON'T use this systemUserConnection as the 'doAs' user gets eclipsed by the system user. -
Q1
-
value1
-
TEST_FAMILY_2
-
TEST_ROW_2
-
Q2
-
value2
-
TEST_ROW_3
-
TESTGROUP_1
- See Also:
-
TESTGROUP_2
- See Also:
-
TESTGROUP1_USER1
-
TESTGROUP2_USER1
-
testTable
-
namespace
-
tname
-
tableName
-
TESTGROUP_1_NAME
-
-
Constructor Details
-
TestAccessController2
public TestAccessController2()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testCreateWithCorrectOwner
- Throws:
Exception
-
testCreateTableWithGroupPermissions
- Throws:
Exception
-
testACLTableAccess
- Throws:
Exception
-
testPostGrantAndRevokeScanAction
- Throws:
Exception
-
testCoprocessorLoading
- Throws:
Exception
-
testACLZNodeDeletion
- Throws:
Exception
-