Package org.apache.hadoop.hbase.security
Class TestNettyTLSIPCFileWatcher
java.lang.Object
org.apache.hadoop.hbase.security.TestNettyTLSIPCFileWatcher
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.apache.hadoop.conf.Configurationprivate static org.apache.hadoop.hbase.util.NettyEventLoopGroupConfigprivate static X509TestContextProviderprivate static org.apache.hadoop.hbase.regionserver.HRegionServerorg.apache.hadoop.hbase.io.crypto.tls.KeyStoreFileTypeprivate static final HBaseCommonTestingUtilityprivate X509TestContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.ipc.RpcServercreateRpcServer(String name, List<org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ipc.RpcScheduler scheduler) data()voidsetUp()static voidvoidtearDown()static voidvoidvoid
-
Field Details
-
CLASS_RULE
-
CONF
-
UTIL
-
SERVER
-
PROVIDER
-
EVENT_LOOP_GROUP_CONFIG
-
x509TestContext
-
keyType
-
storeFileType
-
-
Constructor Details
-
TestNettyTLSIPCFileWatcher
public TestNettyTLSIPCFileWatcher()
-
-
Method Details
-
data
-
setUpBeforeClass
- Throws:
IOException
-
tearDownAfterClass
- Throws:
InterruptedException
-
setUp
- Throws:
IOException
-
tearDown
-
testReplaceServerKeystore
public void testReplaceServerKeystore() throws IOException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, GeneralSecurityException, org.bouncycastle.operator.OperatorCreationException- Throws:
IOExceptionorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionGeneralSecurityExceptionorg.bouncycastle.operator.OperatorCreationException
-
testReplaceClientAndServerKeystore
public void testReplaceClientAndServerKeystore() throws GeneralSecurityException, IOException, org.bouncycastle.operator.OperatorCreationException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException- Throws:
GeneralSecurityExceptionIOExceptionorg.bouncycastle.operator.OperatorCreationExceptionorg.apache.hbase.thirdparty.com.google.protobuf.ServiceException
-
createRpcServer
private org.apache.hadoop.hbase.ipc.RpcServer createRpcServer(String name, List<org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ipc.RpcScheduler scheduler) throws IOException - Throws:
IOException
-