public class TestThriftSpnegoHttpFallbackServer extends TestThriftHttpServer
| Modifier and Type | Field and Description | 
|---|---|
| static HBaseClassTestRule | CLASS_RULE | 
| private static File | clientKeytab | 
| private static String | clientPrincipal | 
| private static org.apache.kerby.kerberos.kerb.server.SimpleKdcServer | kdc | 
| private static org.slf4j.Logger | LOG | 
| private static File | serverKeytab | 
| private static String | serverPrincipal | 
| private static String | spnegoServerPrincipal | 
exception, tableCreated, TEST_UTIL| Constructor and Description | 
|---|
| TestThriftSpnegoHttpFallbackServer() | 
| Modifier and Type | Method and Description | 
|---|---|
| private static void | addSecurityConfigurations(org.apache.hadoop.conf.Configuration conf) | 
| private org.apache.http.impl.client.CloseableHttpClient | createHttpClient() | 
| protected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer> | getThriftServerSupplier() | 
| static void | setUpBeforeClass() | 
| protected void | talkToThriftServer(String url,
                  int customHeaderSize) | 
| static void | tearDownAfterClass() | 
| void | testRunThriftServerWithHeaderBufferLength()Block call through to this method. | 
runThriftServer, testExceptionThrownWhenMisConfigured, testRunThriftServerpublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static org.apache.kerby.kerberos.kerb.server.SimpleKdcServer kdc
private static File serverKeytab
private static File clientKeytab
private static String clientPrincipal
private static String serverPrincipal
private static String spnegoServerPrincipal
public TestThriftSpnegoHttpFallbackServer()
private static void addSecurityConfigurations(org.apache.hadoop.conf.Configuration conf)
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprotected void talkToThriftServer(String url, int customHeaderSize) throws Exception
talkToThriftServer in class TestThriftHttpServerExceptionprivate org.apache.http.impl.client.CloseableHttpClient createHttpClient() throws Exception
Exceptionprotected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer> getThriftServerSupplier()
getThriftServerSupplier in class TestThriftHttpServerpublic void testRunThriftServerWithHeaderBufferLength() throws Exception
testRunThriftServerWithHeaderBufferLength in class TestThriftHttpServerExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.