public class TestSSLHttpServer extends HttpServerFunctionalTest
Modifier and Type | Field and Description |
---|---|
private static URL |
baseUrl |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.security.ssl.SSLFactory |
clientSslFactory |
private static HBaseCommonTestingUtility |
HTU |
private static File |
keystoresDir |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.http.HttpServer |
server |
private static org.apache.hadoop.conf.Configuration |
serverConf |
private static String |
sslConfDir |
TEST_BUILD_WEBAPPS
Constructor and Description |
---|
TestSSLHttpServer() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanup() |
private static String |
readOut(URL url) |
static void |
setup() |
void |
testEcho() |
void |
testSecurityHeaders() |
access, createAndStartTestServer, createServer, createServer, createServer, createServer, createServer, createTestServer, createTestServer, createTestServer, createTestServer, createTestServerWithSecurity, createTestServerWithSecurityAndAcl, deleteRecursively, getFreePort, getServerURL, prepareTestWebapp, readOutput, stop
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static org.apache.hadoop.conf.Configuration serverConf
private static org.apache.hadoop.hbase.http.HttpServer server
private static File keystoresDir
private static String sslConfDir
private static org.apache.hadoop.security.ssl.SSLFactory clientSslFactory
private static HBaseCommonTestingUtility HTU
public TestSSLHttpServer()
public void testSecurityHeaders() throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.