Class TestVisibilityLabelsWithACL
java.lang.Object
org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static final Stringprivate static final byte[]private static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static final Stringprivate static final byte[]private static final byte[]private static final Stringprivate static org.apache.hadoop.hbase.security.Userfinal org.junit.rules.TestNameprivate static final HBaseTestingUtilprivate static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidprivate static org.apache.hadoop.hbase.client.TablecreateTableAndWriteDataWithLabels(org.apache.hadoop.hbase.TableName tableName, String... labelExps) static voidstatic voidvoidvoidvoidvoidvoid
-
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
-