Package org.apache.hadoop.hbase.thrift
Class TestThriftHttpServerSSL
java.lang.Object
org.apache.hadoop.hbase.thrift.TestThriftHttpServerSSL
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.http.impl.client.HttpClientBuilderprivate org.apache.http.client.methods.HttpPostprivate static final Stringprivate Fileprivate static final org.slf4j.Loggerprivate static final HBaseTestingUtilprivate static final Stringprivate ThriftServerRunner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidgenerateKeyStore(KeyPair keyPair, X509Certificate serverCertificate) private voidgenerateTrustStore(X509Certificate serverCertificate) private Stringprivate Stringprivate static voidprivate FilevoidsetUp()static voidvoidtearDown()static voidvoid
-
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
-