[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/ssl ...
Ron Sigal
ron_sigal at yahoo.com
Wed Dec 20 03:59:44 EST 2006
User: rsigal
Date: 06/12/20 03:59:44
Modified: src/tests/org/jboss/test/remoting/transport/bisocket/ssl
Tag: remoting_2_x SSLBisocketTestCase.java
Log:
JBREM-650: Changed names of keystore and truststore files.
Revision Changes Path
No revision
No revision
1.1.2.2 +2 -2 JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/ssl/Attic/SSLBisocketTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SSLBisocketTestCase.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/ssl/Attic/SSLBisocketTestCase.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- SSLBisocketTestCase.java 19 Dec 2006 06:26:15 -0000 1.1.2.1
+++ SSLBisocketTestCase.java 20 Dec 2006 08:59:44 -0000 1.1.2.2
@@ -29,7 +29,7 @@
/**
* @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.1.2.1 $
+ * @version $Revision: 1.1.2.2 $
* <p>
* Copyright Dec 15, 2006
* </p>
@@ -45,7 +45,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");
}
@@ -54,7 +54,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");
}
More information about the jboss-cvs-commits
mailing list