Class TestCellACLs
java.lang.Object
org.apache.hadoop.hbase.security.access.SecureTestUtil
org.apache.hadoop.hbase.security.access.TestCellACLs
-
Nested Class Summary
Nested 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 Stringprivate static org.apache.hadoop.hbase.security.Userprivate static final org.slf4j.Loggerprivate static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final HBaseTestingUtilprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static String[]private static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprepareCellPermissions(String[] users, org.apache.hadoop.hbase.security.access.Permission.Action... action) voidsetUp()static voidvoidtearDown()static voidvoidvoidInsure we are not granting access in the absence of any cells found when scanning for covered cells.private voidverifyUserAllowedForRead(org.apache.hadoop.hbase.security.User user) private voidverifyUserDeniedForWrite(org.apache.hadoop.hbase.security.User user, byte[] value) 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
-
testTable
-
TEST_UTIL
-
TEST_FAMILY
-
TEST_ROW
-
TEST_Q1
-
TEST_Q2
-
TEST_Q3
-
TEST_Q4
-
ZERO
-
ONE
-
conf
-
GROUP
- See Also:
-
GROUP_USER
-
USER_OWNER
-
USER_OTHER
-
usersAndGroups
-
-
Constructor Details
-
TestCellACLs
public TestCellACLs()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
testCellPermissions
- Throws:
Exception
-
testCoveringCheck
Insure we are not granting access in the absence of any cells found when scanning for covered cells.- Throws:
Exception
-
verifyUserDeniedForWrite
private void verifyUserDeniedForWrite(org.apache.hadoop.hbase.security.User user, byte[] value) throws Exception - Throws:
Exception
-
verifyUserAllowedForRead
- Throws:
Exception
-
prepareCellPermissions
private Map<String,org.apache.hadoop.hbase.security.access.Permission> prepareCellPermissions(String[] users, org.apache.hadoop.hbase.security.access.Permission.Action... action) -
tearDown
- Throws:
Exception
-