tn5250j/src/org/tn5250j/framework/tn5250 tnvt.java,1.9,1.10
Steve Kennedy <[email protected]> Fri, 25 Feb 2005 21:41:29 +0000
| Newsgroups | gmane.comp.java.tn5250j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/framework/tn5250
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22197/src/org/tn5250j/framework/tn5250
Modified Files:
tnvt.java
Log Message:
Bugfix for Bug Request ID 1071962
Index: tnvt.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/framework/tn5250/tnvt.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** tnvt.java 10 Nov 2004 11:39:40 -0000 1.9
--- tnvt.java 25 Feb 2005 21:41:26 -0000 1.10
***************
*** 52,55 ****
--- 52,56 ----
import org.tn5250j.tools.logging.TN5250jLogFactory;
import org.tn5250j.tools.logging.TN5250jLogger;
+ import org.tn5250j.framework.transport.SSLConstants;
import org.tn5250j.framework.transport.SocketConnector;
import org.tn5250j.TN5250jConstants;
***************
*** 150,153 ****
--- 151,158 ----
}
+ /**
+ * Set the ssl type to use for connect.
+ * @param type
+ */
public void setSSLType(String type) {
sslType = type;
***************
*** 235,240 ****
//smk - For SSL compability
SocketConnector sc = new SocketConnector();
! if (sslType != null)
! sc.setSSLType(sslType);
sock = sc.createSocket(s, port);
--- 240,246 ----
//smk - For SSL compability
SocketConnector sc = new SocketConnector();
! if(props.containsKey(TN5250jConstants.SSL_TYPE))
! sc.setSSLType(props.getProperty(TN5250jConstants.SSL_TYPE));
!
sock = sc.createSocket(s, port);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click