Class TestShadeSaslAuthenticationProvider
java.lang.Object
org.apache.hadoop.hbase.security.provider.example.TestShadeSaslAuthenticationProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.LocalHBaseCluster
(package private) String
private static final org.apache.hadoop.conf.Configuration
private static File
private static final org.slf4j.Logger
org.junit.rules.TestName
(package private) org.apache.hadoop.hbase.TableName
private static org.apache.hadoop.fs.Path
private static final char[]
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static org.apache.hadoop.hbase.LocalHBaseCluster
createCluster
(HBaseTestingUtility util, File keytabFile, org.apache.hadoop.minikdc.MiniKdc kdc, Map<String, char[]> userDatabase) void
(package private) static void
createUserDBFile
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, Map<String, char[]> userDatabase) static void
static void
void
void
-
Field Details
-
LOG
-
CLASS_RULE
-
USER1_PASSWORD
-
UTIL
-
CONF
-
CLUSTER
-
KEYTAB_FILE
-
USER_DATABASE_FILE
-
name
-
tableName
org.apache.hadoop.hbase.TableName tableName -
clusterId
-
-
Constructor Details
-
TestShadeSaslAuthenticationProvider
public TestShadeSaslAuthenticationProvider()
-
-
Method Details
-
createCluster
static org.apache.hadoop.hbase.LocalHBaseCluster createCluster(HBaseTestingUtility util, File keytabFile, org.apache.hadoop.minikdc.MiniKdc kdc, Map<String, char[]> userDatabase) throws Exception- Throws:
Exception
-
createUserDBFile
static void createUserDBFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, Map<String, char[]> userDatabase) throws IOException- Throws:
IOException
-
setupCluster
- Throws:
Exception
-
teardownCluster
- Throws:
Exception
-
createTable
- Throws:
Exception
-
testPositiveAuthentication
- Throws:
Exception
-
testNegativeAuthentication
- Throws:
Exception
-