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, testRunThriftServer
public 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
Exception
public static void tearDownAfterClass() throws Exception
Exception
protected void talkToThriftServer(String url, int customHeaderSize) throws Exception
talkToThriftServer
in class TestThriftHttpServer
Exception
private org.apache.http.impl.client.CloseableHttpClient createHttpClient() throws Exception
Exception
protected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer> getThriftServerSupplier()
getThriftServerSupplier
in class TestThriftHttpServer
public void testRunThriftServerWithHeaderBufferLength() throws Exception
testRunThriftServerWithHeaderBufferLength
in class TestThriftHttpServer
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.