tn5250j/src/org/tn5250j Session5250.java,1.6,1.7

Steve Kennedy <[email protected]> Fri, 25 Feb 2005 21:50:42 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24737/src/org/tn5250j

Modified Files:
	Session5250.java 
Log Message:
SSL Updates

Index: Session5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Session5250.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Session5250.java	25 Feb 2005 21:41:25 -0000	1.6
--- Session5250.java	25 Feb 2005 21:50:40 -0000	1.7
***************
*** 156,161 ****
  
        final tnvt vt = new tnvt(this,screen,enhanced,support132);
!       if (sesProps.containsKey(TN5250jConstants.SSL_TYPE))
!       	vt.setSSLType(sesProps.getProperty(TN5250jConstants.SSL_TYPE));
        setVT(vt);
  
--- 156,164 ----
  
        final tnvt vt = new tnvt(this,screen,enhanced,support132);
!       //smk don't need to set ssl type.  tnvt now get's it by calling 
!       //Session5250.getConnectionProperties().getProperty(String) on it's
!       //specified Session (this).
!       //if (sesProps.containsKey(TN5250jConstants.SSL_TYPE))
!       	//vt.setSSLType(sesProps.getProperty(TN5250jConstants.SSL_TYPE));
        setVT(vt);
  
***************
*** 169,172 ****
--- 172,176 ----
                       proxyPort);
  
+       /*
        String sslType = null;
        if (sesProps.containsKey(TN5250jConstants.SSL_TYPE)) {
***************
*** 179,183 ****
  
        vt.setSSLType(sslType);
! 
        if (sesProps.containsKey(SESSION_CODE_PAGE))
           vt.setCodePage((String)sesProps.getProperty(SESSION_CODE_PAGE));
--- 183,187 ----
  
        vt.setSSLType(sslType);
!       */
        if (sesProps.containsKey(SESSION_CODE_PAGE))
           vt.setCodePage((String)sesProps.getProperty(SESSION_CODE_PAGE));



-------------------------------------------------------
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