tn5250j/src/org/tn5250j/framework/transport SocketConnector.java,1.3,1.4 SSLInterface.java,1.2,1.3

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

Modified Files:
	SocketConnector.java SSLInterface.java 
Log Message:
SSL Updates

Index: SSLInterface.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/framework/transport/SSLInterface.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SSLInterface.java	25 Feb 2005 08:00:15 -0000	1.2
--- SSLInterface.java	25 Feb 2005 12:35:32 -0000	1.3
***************
*** 27,35 ****
  
  	/**
! 	 * Set the SSL type (if required) for new sockets
! 	 * @param type The ssl type
  	 * @see org.tn5250j.framework.transport.SSLConstants
  	 */
!    public abstract void setSSLType(String type);
  
     /**
--- 27,36 ----
  
  	/**
! 	 * Initialize the components required to create a new client socket
! 	 * when createSSLSocket is called.
! 	 * @param type The ssl socket type (SSLv2, SSLv3, TLS)
  	 * @see org.tn5250j.framework.transport.SSLConstants
  	 */
!    public abstract void init(String sslType);
  
     /**

Index: SocketConnector.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/framework/transport/SocketConnector.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SocketConnector.java	25 Feb 2005 09:12:03 -0000	1.3
--- SocketConnector.java	25 Feb 2005 12:35:32 -0000	1.4
***************
*** 92,96 ****
  		
        	if (sslIf != null) {
!       		sslIf.setSSLType(sslType);
        		socket = sslIf.createSSLSocket(destination,port);
        	}
--- 92,96 ----
  		
        	if (sslIf != null) {
!       		sslIf.init(sslType);
        		socket = sslIf.createSSLSocket(destination,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