Class TestVisibilityLabelsWithACL
java.lang.Object
org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static final String
private static final byte[]
private static org.apache.hadoop.hbase.security.User
private static org.apache.hadoop.hbase.security.User
private static final String
private static final byte[]
private static final byte[]
private static final String
private static org.apache.hadoop.hbase.security.User
final org.junit.rules.TestName
private static final HBaseTestingUtility
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
private static org.apache.hadoop.hbase.client.Table
createTableAndWriteDataWithLabels
(org.apache.hadoop.hbase.TableName tableName, String... labelExps) static void
static void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
PRIVATE
- See Also:
-
CONFIDENTIAL
- See Also:
-
SECRET
- See Also:
-
TEST_UTIL
-
row1
-
fam
-
qual
-
value
-
conf
-
TEST_NAME
-
SUPERUSER
-
NORMAL_USER1
-
NORMAL_USER2
-
-
Constructor Details
-
TestVisibilityLabelsWithACL
public TestVisibilityLabelsWithACL()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testScanForUserWithFewerLabelAuthsThanLabelsInScanAuthorizations
- Throws:
Throwable
-
testScanForSuperUserWithFewerLabelAuths
- Throws:
Throwable
-
testGetForSuperUserWithFewerLabelAuths
- Throws:
Throwable
-
testVisibilityLabelsForUserWithNoAuths
- Throws:
Throwable
-
testLabelsTableOpsWithDifferentUsers
- Throws:
Throwable
-
createTableAndWriteDataWithLabels
private static org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(org.apache.hadoop.hbase.TableName tableName, String... labelExps) throws Exception - Throws:
Exception
-
addLabels
- Throws:
IOException
-