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
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testScanForUserWithFewerLabelAuthsThanLabelsInScanAuthorizations() throws Throwable
Throwable
public void testScanForSuperUserWithFewerLabelAuths() throws Throwable
Throwable
public void testGetForSuperUserWithFewerLabelAuths() throws Throwable
Throwable
public void testVisibilityLabelsForUserWithNoAuths() throws Throwable
Throwable
public void testLabelsTableOpsWithDifferentUsers() throws Throwable
Throwable
private static org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(org.apache.hadoop.hbase.TableName tableName, String... labelExps) throws Exception
Exception
private static void addLabels() throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.