diff src/org/tn5250j/framework/transport/SSL/SSLImplementation.java @ 91:33eb63352be5

remove 5250 configuration
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Jun 2014 16:17:48 -0700
parents 213153ca62a2
children 77ac18bc1b2f
line wrap: on
line diff
--- a/src/org/tn5250j/framework/transport/SSL/SSLImplementation.java	Mon Jun 16 12:34:05 2014 -0700
+++ b/src/org/tn5250j/framework/transport/SSL/SSLImplementation.java	Mon Jun 16 16:17:48 2014 -0700
@@ -42,7 +42,6 @@
 import com.five_ten_sg.connectbot.service.TerminalBridge;
 import com.five_ten_sg.connectbot.service.TerminalManager;
 
-import org.tn5250j.GlobalConfigure;
 import org.tn5250j.framework.transport.SSLInterface;
 import android.util.Log;
 
@@ -81,10 +80,10 @@
 
 	}
 
-	public void init(String sslType) {
+	public void init(String sslType, String homeDirectory) {
 		try {
 			Log.d(TAG,"Initializing User KeyStore");
-			userKsPath = GlobalConfigure.instance().settingsDirectory() + "keystore";
+			userKsPath = homeDirectory + File.separator + "keystore";
 			File userKsFile = new File(userKsPath);
 			userks = KeyStore.getInstance(KeyStore.getDefaultType());
 			userks.load(userKsFile.exists() ? new FileInputStream(userKsFile)