Package org.apache.hadoop.hbase.security
Class TestMutualTlsServerSide
java.lang.Object
org.apache.hadoop.hbase.security.AbstractTestMutualTls
org.apache.hadoop.hbase.security.TestMutualTlsServerSide
Comprehensively tests all permutations of ClientAuth modes and host verification
 enabled/disabled. Tests each permutation of that against each relevant value of
 
AbstractTestMutualTls.CertConfig, i.e. passing no cert, a bad cert, etc. See inline comments in data()
 below for what the expectations are- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.hbase.security.AbstractTestMutualTlsAbstractTestMutualTls.CertConfig
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleorg.apache.hadoop.hbase.io.crypto.tls.X509Util.ClientAuthFields inherited from class org.apache.hadoop.hbase.security.AbstractTestMutualTlscaKeyType, certConfig, certKeyType, DIR, expectSuccess, keyPassword, PROVIDER, rpcClient, rpcServer, UTIL, validateHostnames
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondata()protected voidinitialize(org.apache.hadoop.conf.Configuration serverConf, org.apache.hadoop.conf.Configuration clientConf) Methods inherited from class org.apache.hadoop.hbase.security.AbstractTestMutualTlscleanUp, handleCertConfig, setUp, setUpBeforeClass, tearDown, testClientAuth
- 
Field Details- 
CLASS_RULE
- 
clientAuthMode
 
- 
- 
Constructor Details- 
TestMutualTlsServerSidepublic TestMutualTlsServerSide()
 
- 
- 
Method Details- 
data
- 
initializeprotected void initialize(org.apache.hadoop.conf.Configuration serverConf, org.apache.hadoop.conf.Configuration clientConf) throws IOException, GeneralSecurityException, org.bouncycastle.operator.OperatorCreationException - Specified by:
- initializein class- AbstractTestMutualTls
- Throws:
- IOException
- GeneralSecurityException
- org.bouncycastle.operator.OperatorCreationException
 
 
-