public class TestThriftSpnegoHttpServer 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 File |
spnegoServerKeytab |
private static String |
spnegoServerPrincipal |
exception, tableCreated, TEST_UTIL| Constructor and Description |
|---|
TestThriftSpnegoHttpServer() |
| 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 spnegoServerKeytab
private static File clientKeytab
private static String clientPrincipal
private static String serverPrincipal
private static String spnegoServerPrincipal
public TestThriftSpnegoHttpServer()
private static void addSecurityConfigurations(org.apache.hadoop.conf.Configuration conf)
public static void setUpBeforeClass() throws Exception
Exceptionprotected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer> getThriftServerSupplier()
getThriftServerSupplier in class TestThriftHttpServerpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testRunThriftServerWithHeaderBufferLength() throws Exception
testRunThriftServerWithHeaderBufferLength in class TestThriftHttpServerExceptionprotected void talkToThriftServer(String url, int customHeaderSize) throws Exception
talkToThriftServer in class TestThriftHttpServerExceptionprivate org.apache.http.impl.client.CloseableHttpClient createHttpClient() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.