summaryrefslogtreecommitdiff
path: root/java/config/TestUtil.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-04-19 13:57:26 +0000
committerMark Spruiell <mes@zeroc.com>2006-04-19 13:57:26 +0000
commit9e516d6a3051e2b164042cbfe650f42ee184d1f5 (patch)
tree65d6508d7112625ee7d95af48007f2f73d49f3fd /java/config/TestUtil.py
parentseparating client/server configuration; removing client/server properties (diff)
downloadice-9e516d6a3051e2b164042cbfe650f42ee184d1f5.tar.bz2
ice-9e516d6a3051e2b164042cbfe650f42ee184d1f5.tar.xz
ice-9e516d6a3051e2b164042cbfe650f42ee184d1f5.zip
removing client/server properties for IceSSL
Diffstat (limited to 'java/config/TestUtil.py')
-rw-r--r--java/config/TestUtil.py52
1 files changed, 18 insertions, 34 deletions
diff --git a/java/config/TestUtil.py b/java/config/TestUtil.py
index 349dccf3969..b1215be5a55 100644
--- a/java/config/TestUtil.py
+++ b/java/config/TestUtil.py
@@ -174,44 +174,28 @@ os.environ["CLASSPATH"] = os.path.join(toplevel, "lib") + sep + os.getenv("CLASS
if protocol == "ssl":
plugin = " --Ice.Plugin.IceSSL=IceSSL.PluginFactory"
clientProtocol = plugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Client.DefaultDir=" + os.path.join(toplevel, "certs") + \
- " --IceSSL.Client.Keystore=client.jks" + \
- " --IceSSL.Client.Truststore=certs.jks" + \
- " --IceSSL.Client.Password=password"
+ " --IceSSL.DefaultDir=" + os.path.join(toplevel, "certs") + \
+ " --IceSSL.Keystore=client.jks" + \
+ " --IceSSL.Truststore=certs.jks" + \
+ " --IceSSL.Password=password"
serverProtocol = plugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Server.DefaultDir=" + os.path.join(toplevel, "certs") + \
- " --IceSSL.Server.Keystore=server.jks" + \
- " --IceSSL.Server.Truststore=certs.jks" + \
- " --IceSSL.Server.Password=password"
- clientServerProtocol = plugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Client.DefaultDir=" + os.path.join(toplevel, "certs") + \
- " --IceSSL.Client.Keystore=client.jks" + \
- " --IceSSL.Client.Truststore=certs.jks" + \
- " --IceSSL.Client.Password=password" + \
- " --IceSSL.Server.DefaultDir=" + os.path.join(toplevel, "certs") + \
- " --IceSSL.Server.Keystore=server.jks" + \
- " --IceSSL.Server.Truststore=certs.jks" + \
- " --IceSSL.Server.Password=password"
+ " --IceSSL.DefaultDir=" + os.path.join(toplevel, "certs") + \
+ " --IceSSL.Keystore=server.jks" + \
+ " --IceSSL.Truststore=certs.jks" + \
+ " --IceSSL.Password=password"
+ clientServerProtocol = clientProtocol
cppPlugin = " --Ice.Plugin.IceSSL=IceSSL:create"
cppClientProtocol = cppPlugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Client.DefaultDir=" + os.path.join(toplevel, "certs") + \
- " --IceSSL.Client.CertFile=c_rsa1024_pub.pem" + \
- " --IceSSL.Client.KeyFile=c_rsa1024_priv.pem" + \
- " --IceSSL.Client.CertAuthFile=cacert.pem"
+ " --IceSSL.DefaultDir=" + os.path.join(toplevel, "certs") + \
+ " --IceSSL.CertFile=c_rsa1024_pub.pem" + \
+ " --IceSSL.KeyFile=c_rsa1024_priv.pem" + \
+ " --IceSSL.CertAuthFile=cacert.pem"
cppServerProtocol = cppPlugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Server.DefaultDir=" + os.path.join(toplevel, "certs") + \
- " --IceSSL.Server.CertFile=s_rsa1024_pub.pem" + \
- " --IceSSL.Server.KeyFile=s_rsa1024_priv.pem" + \
- " --IceSSL.Server.CertAuthFile=cacert.pem"
- cppClientServerProtocol = cppPlugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Client.DefaultDir=" + os.path.join(toplevel, "certs") + \
- " --IceSSL.Client.CertFile=c_rsa1024_pub.pem" + \
- " --IceSSL.Client.KeyFile=c_rsa1024_priv.pem" + \
- " --IceSSL.Client.CertAuthFile=cacert.pem" + \
- " --IceSSL.Server.DefaultDir=" + os.path.join(toplevel, "certs") + \
- " --IceSSL.Server.CertFile=s_rsa1024_pub.pem" + \
- " --IceSSL.Server.KeyFile=s_rsa1024_priv.pem" + \
- " --IceSSL.Server.CertAuthFile=cacert.pem"
+ " --IceSSL.DefaultDir=" + os.path.join(toplevel, "certs") + \
+ " --IceSSL.CertFile=s_rsa1024_pub.pem" + \
+ " --IceSSL.KeyFile=s_rsa1024_priv.pem" + \
+ " --IceSSL.CertAuthFile=cacert.pem"
+ cppClientServerProtocol = cppClientProtocol
else:
clientProtocol = ""
serverProtocol = ""