public class TestVisibilityLabelsWithACL extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static String |
CONFIDENTIAL |
private static byte[] |
fam |
private static org.apache.hadoop.hbase.security.User |
NORMAL_USER1 |
private static org.apache.hadoop.hbase.security.User |
NORMAL_USER2 |
private static String |
PRIVATE |
private static byte[] |
qual |
private static byte[] |
row1 |
private static String |
SECRET |
private static org.apache.hadoop.hbase.security.User |
SUPERUSER |
org.junit.rules.TestName |
TEST_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
value |
| Constructor and Description |
|---|
TestVisibilityLabelsWithACL() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
addLabels() |
private static org.apache.hadoop.hbase.client.Table |
createTableAndWriteDataWithLabels(org.apache.hadoop.hbase.TableName tableName,
String... labelExps) |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testGetForSuperUserWithFewerLabelAuths() |
void |
testLabelsTableOpsWithDifferentUsers() |
void |
testScanForSuperUserWithFewerLabelAuths() |
void |
testScanForUserWithFewerLabelAuthsThanLabelsInScanAuthorizations() |
void |
testVisibilityLabelsForUserWithNoAuths() |
public static final HBaseClassTestRule CLASS_RULE
private static final String PRIVATE
private static final String CONFIDENTIAL
private static final String SECRET
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] row1
private static final byte[] fam
private static final byte[] qual
private static final byte[] value
private static org.apache.hadoop.conf.Configuration conf
public final org.junit.rules.TestName TEST_NAME
private static org.apache.hadoop.hbase.security.User SUPERUSER
private static org.apache.hadoop.hbase.security.User NORMAL_USER1
private static org.apache.hadoop.hbase.security.User NORMAL_USER2
public TestVisibilityLabelsWithACL()
public static void setupBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testScanForUserWithFewerLabelAuthsThanLabelsInScanAuthorizations() throws Throwable
Throwablepublic void testScanForSuperUserWithFewerLabelAuths() throws Throwable
Throwablepublic void testGetForSuperUserWithFewerLabelAuths() throws Throwable
Throwablepublic void testVisibilityLabelsForUserWithNoAuths() throws Throwable
Throwablepublic void testLabelsTableOpsWithDifferentUsers() throws Throwable
Throwableprivate static org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(org.apache.hadoop.hbase.TableName tableName, String... labelExps) throws Exception
Exceptionprivate static void addLabels() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.