public abstract class TestVisibilityLabels extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCENT |
static org.apache.hadoop.conf.Configuration |
conf |
static String |
CONFIDENTIAL |
static String |
COPYRIGHT |
static byte[] |
fam |
private boolean |
killedRS |
static String |
PRIVATE |
static String |
PUBLIC |
static byte[] |
qual |
static byte[] |
row1 |
static byte[] |
row2 |
static byte[] |
row3 |
static byte[] |
row4 |
static String |
SECRET |
static org.apache.hadoop.hbase.security.User |
SUPERUSER |
org.junit.rules.TestName |
TEST_NAME |
static HBaseTestingUtility |
TEST_UTIL |
static String |
TOPSECRET |
static String |
UC1 |
static String |
UC2 |
static String |
UNICODE_VIS_TAG |
static org.apache.hadoop.hbase.security.User |
USER1 |
static byte[] |
value |
Constructor and Description |
---|
TestVisibilityLabels() |
public static final String TOPSECRET
public static final String PUBLIC
public static final String PRIVATE
public static final String CONFIDENTIAL
public static final String SECRET
public static final String COPYRIGHT
public static final String ACCENT
public static final String UNICODE_VIS_TAG
public static final String UC1
public static final String UC2
public static final HBaseTestingUtility TEST_UTIL
public static final byte[] row1
public static final byte[] row2
public static final byte[] row3
public static final byte[] row4
public static final byte[] fam
public static final byte[] qual
public static final byte[] value
public static org.apache.hadoop.conf.Configuration conf
private volatile boolean killedRS
public final org.junit.rules.TestName TEST_NAME
public static org.apache.hadoop.hbase.security.User SUPERUSER
public static org.apache.hadoop.hbase.security.User USER1
public TestVisibilityLabels()
public static void tearDownAfterClass() throws Exception
Exception
public void testSecurityCapabilities() throws Exception
Exception
public void testSimpleVisibilityLabels() throws Exception
Exception
public void testSimpleVisibilityLabelsWithUniCodeCharacters() throws Exception
Exception
public void testAuthorizationsWithSpecialUnicodeCharacters() throws Exception
Exception
public void testVisibilityLabelsWithComplexLabels() throws Exception
Exception
public void testVisibilityLabelsThatDoesNotPassTheCriteria() throws Exception
Exception
public void testVisibilityLabelsInPutsThatDoesNotMatchAnyDefinedLabels() throws Exception
Exception
public void testVisibilityLabelsInScanThatDoesNotMatchAnyDefinedLabels() throws Exception
Exception
public void testVisibilityLabelsWithGet() throws Exception
Exception
public void testVisibilityLabelsOnKillingOfRSContainingLabelsTable() throws Exception
Exception
public void testVisibilityLabelsOnRSRestart() throws Exception
Exception
protected void waitForLabelsRegionAvailability(org.apache.hadoop.hbase.regionserver.HRegionServer regionServer)
public void testVisibilityLabelsInGetThatDoesNotMatchAnyDefinedLabels() throws Exception
Exception
public void testSetAndGetUserAuths() throws Throwable
Throwable
protected List<String> extractAuths(String user, List<org.apache.hadoop.hbase.client.Result> results)
public void testClearUserAuths() throws Throwable
Throwable
public void testLabelsWithCheckAndPut() throws Throwable
Throwable
public void testLabelsWithIncrement() throws Throwable
Throwable
public void testLabelsWithAppend() throws Throwable
Throwable
public void testUserShouldNotDoDDLOpOnLabelsTable() throws Exception
Exception
public void testMultipleVersions() throws Exception
Exception
public void testMutateRow() throws Exception
Exception
public void testFlushedFileWithVisibilityTags() throws Exception
Exception
static org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(org.apache.hadoop.hbase.TableName tableName, String... labelExps) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.