1
package org.jboss.test.remoting.transport.bisocket.ssl.clientaddress;
5
import org.jboss.remoting.security.SSLSocketBuilder;
6
import org.jboss.remoting.transport.bisocket.Bisocket;
7
import org.jboss.test.remoting.clientaddress.ClientAddressTestParent;
9
public class SSLBisocketClientAddressTestCase extends ClientAddressTestParent
11
protected String getTransport()
16
protected void addExtraServerConfig(Map config)
18
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_TYPE, "JKS");
19
String keyStoreFilePath = this.getClass().getResource("../.keystore").getFile();
20
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_FILE_PATH, keyStoreFilePath);
21
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_PASSWORD, "unit-tests-server");
24
protected void addExtraClientConfig(Map config)
26
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_TYPE, "JKS");
27
String trustStoreFilePath = this.getClass().getResource("../.truststore").getFile();
28
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_FILE_PATH, trustStoreFilePath);
29
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_PASSWORD, "unit-tests-client");
32
protected void addExtraCallbackConfig(Map config)
34
addExtraClientConfig(config);
35
config.put(Bisocket.IS_CALLBACK_SERVER, "true");