public class TestMutualTlsServerSide extends AbstractTestMutualTls
CertConfig
, i.e. passing no cert, 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 |
org.apache.hadoop.hbase.io.crypto.tls.X509Util.ClientAuth |
clientAuthMode |
caKeyType, certConfig, certKeyType, DIR, expectSuccess, keyPassword, PROVIDER, rpcClient, rpcServer, UTIL, validateHostnames
Constructor and Description |
---|
TestMutualTlsServerSide() |
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 org.apache.hadoop.hbase.io.crypto.tls.X509Util.ClientAuth clientAuthMode
public TestMutualTlsServerSide()
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.