Package org.apache.hadoop.hbase.security
Class TestNettyTLSIPCFileWatcher
java.lang.Object
org.apache.hadoop.hbase.security.TestNettyTLSIPCFileWatcher
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.hbase.util.NettyEventLoopGroupConfig
private static X509TestContextProvider
private static org.apache.hadoop.hbase.HBaseServerBase<?>
org.apache.hadoop.hbase.io.crypto.tls.KeyStoreFileType
private static final HBaseCommonTestingUtil
private X509TestContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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) data()
void
setUp()
static void
void
tearDown()
static void
void
void
-
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:
IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
GeneralSecurityException
org.bouncycastle.operator.OperatorCreationException
-
testReplaceClientAndServerKeystore
public void testReplaceClientAndServerKeystore() throws GeneralSecurityException, IOException, org.bouncycastle.operator.OperatorCreationException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException- Throws:
GeneralSecurityException
IOException
org.bouncycastle.operator.OperatorCreationException
org.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
-