public class TestMutualTlsClientSide extends AbstractTestMutualTls
CertConfig
, i.e. passing a bad cert,
etc. See inline comments in data()
below for what the expectations areAbstractTestMutualTls.CertConfig
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
caKeyType, certConfig, certKeyType, DIR, expectSuccess, keyPassword, PROVIDER, rpcClient, rpcServer, UTIL, validateHostnames
Constructor and Description |
---|
TestMutualTlsClientSide() |
Modifier and Type | Method and Description |
---|---|
static List<Object[]> |
data() |
protected void |
initialize(org.apache.hadoop.conf.Configuration serverConf,
org.apache.hadoop.conf.Configuration clientConf) |
cleanUp, handleCertConfig, setUp, setUpBeforeClass, tearDown, testClientAuth
public static final HBaseClassTestRule CLASS_RULE
public TestMutualTlsClientSide()
protected void initialize(org.apache.hadoop.conf.Configuration serverConf, org.apache.hadoop.conf.Configuration clientConf) throws IOException, GeneralSecurityException, org.bouncycastle.operator.OperatorCreationException
initialize
in class AbstractTestMutualTls
IOException
GeneralSecurityException
org.bouncycastle.operator.OperatorCreationException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.