Package org.apache.hadoop.hbase.thrift
Class TestThriftHttpServerSSL
java.lang.Object
org.apache.hadoop.hbase.thrift.TestThriftHttpServerSSL
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.http.impl.client.HttpClientBuilder
private org.apache.http.client.methods.HttpPost
private static final String
private File
private static final org.slf4j.Logger
private static final HBaseTestingUtil
private static final String
private ThriftServerRunner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
generateKeyStore
(KeyPair keyPair, X509Certificate serverCertificate) private void
generateTrustStore
(X509Certificate serverCertificate) private String
private String
private static void
private File
void
setUp()
static void
void
tearDown()
static void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
KEY_STORE_PASSWORD
- See Also:
-
TRUST_STORE_PASSWORD
- See Also:
-
keyDir
-
httpClientBuilder
-
tsr
-
httpPost
-
-
Constructor Details
-
TestThriftHttpServerSSL
public TestThriftHttpServerSSL()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
testSecurityHeaders
- Throws:
Exception
-
initializeAlgorithmId
-
initKeystoreDir
-
generateKeyStore
- Throws:
Exception
-
generateTrustStore
- Throws:
Exception
-
getKeystoreFilePath
-
getTruststoreFilePath
-