Class TestAccessController2
java.lang.Object
org.apache.hadoop.hbase.security.access.SecureTestUtil
org.apache.hadoop.hbase.security.access.TestAccessController2
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.hadoop.hbase.security.access.SecureTestUtil
SecureTestUtil.AccessTestAction, SecureTestUtil.MasterSyncObserver -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static final org.slf4j.Loggerprivate Stringprivate static final byte[]private static final byte[]private static org.apache.hadoop.hbase.client.ConnectionThe systemUserConnection created here is tied to the system user.private org.apache.hadoop.hbase.TableNameprivate static final byte[]private static byte[]private static final byte[]private static final byte[]private static byte[]private static byte[]private static HBaseTestingUtilprivate static final byte[]private static final Stringprivate static Stringprivate static final Stringprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate Stringprivate static final byte[]private static final byte[] -
Constructor Summary
Constructors -
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
-