public class TestShadeSaslAuthenticationProvider extends Object
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static org.apache.hadoop.hbase.LocalHBaseCluster | 
CLUSTER  | 
(package private) String | 
clusterId  | 
private static org.apache.hadoop.conf.Configuration | 
CONF  | 
private static File | 
KEYTAB_FILE  | 
org.junit.rules.TestName | 
name  | 
(package private) org.apache.hadoop.hbase.TableName | 
tableName  | 
private static org.apache.hadoop.fs.Path | 
USER_DATABASE_FILE  | 
private static char[] | 
USER1_PASSWORD  | 
private static HBaseTestingUtility | 
UTIL  | 
| Constructor and Description | 
|---|
TestShadeSaslAuthenticationProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
(package private) static org.apache.hadoop.hbase.LocalHBaseCluster | 
createCluster(HBaseTestingUtility util,
             File keytabFile,
             org.apache.hadoop.minikdc.MiniKdc kdc,
             Map<String,char[]> userDatabase)  | 
void | 
createTable()  | 
(package private) static void | 
createUserDBFile(org.apache.hadoop.fs.FileSystem fs,
                org.apache.hadoop.fs.Path p,
                Map<String,char[]> userDatabase)  | 
static void | 
setupCluster()  | 
static void | 
teardownCluster()  | 
void | 
testNegativeAuthentication()  | 
void | 
testPositiveAuthentication()  | 
public static final HBaseClassTestRule CLASS_RULE
private static final char[] USER1_PASSWORD
private static final HBaseTestingUtility UTIL
private static final org.apache.hadoop.conf.Configuration CONF
private static org.apache.hadoop.hbase.LocalHBaseCluster CLUSTER
private static File KEYTAB_FILE
private static org.apache.hadoop.fs.Path USER_DATABASE_FILE
public org.junit.rules.TestName name
org.apache.hadoop.hbase.TableName tableName
public TestShadeSaslAuthenticationProvider()
static org.apache.hadoop.hbase.LocalHBaseCluster createCluster(HBaseTestingUtility util, File keytabFile, org.apache.hadoop.minikdc.MiniKdc kdc, Map<String,char[]> userDatabase) throws Exception
Exceptionstatic void createUserDBFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, Map<String,char[]> userDatabase) throws IOException
IOExceptionpublic static void setupCluster() throws Exception
Exceptionpublic static void teardownCluster() throws Exception
Exceptionpublic void createTable() throws Exception
Exceptionpublic void testPositiveAuthentication() throws Exception
Exceptionpublic void testNegativeAuthentication() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.