Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:31:17 -0400 (Sun, 05 Apr 2009)
New Revision: 4948
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletClientAddressTestClient.java
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletInvokerTestClient.java
Log:
JBREM-139: Renamed .keystore and .truststore to keystore and truststore.
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletClientAddressTestClient.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletClientAddressTestClient.java 2009-04-05
06:29:30 UTC (rev 4947)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletClientAddressTestClient.java 2009-04-05
06:31:17 UTC (rev 4948)
@@ -21,7 +21,7 @@
protected void addExtraServerConfig(Map config)
{
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_TYPE, "JKS");
- String keyStoreFilePath =
this.getClass().getResource(".keystore").getFile();
+ String keyStoreFilePath =
this.getClass().getResource("keystore").getFile();
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_FILE_PATH, keyStoreFilePath);
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_PASSWORD,
"unit-tests-server");
}
@@ -29,7 +29,7 @@
protected void addExtraClientConfig(Map config)
{
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_TYPE, "JKS");
- String trustStoreFilePath =
this.getClass().getResource(".truststore").getFile();
+ String trustStoreFilePath =
this.getClass().getResource("truststore").getFile();
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_FILE_PATH, trustStoreFilePath);
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_PASSWORD,
"unit-tests-client");
}
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletInvokerTestClient.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletInvokerTestClient.java 2009-04-05
06:29:30 UTC (rev 4947)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletInvokerTestClient.java 2009-04-05
06:31:17 UTC (rev 4948)
@@ -13,7 +13,7 @@
{
// since doing basic (using default ssl server socket factory)
// need to set the system properties to the truststore
- String trustStoreFilePath =
this.getClass().getResource(".truststore").getFile();
+ String trustStoreFilePath =
this.getClass().getResource("truststore").getFile();
System.setProperty("javax.net.ssl.trustStore", trustStoreFilePath);
Show replies by date