Author: ron.sigal(a)jboss.com
Date: 2008-05-13 00:54:35 -0400 (Tue, 13 May 2008)
New Revision: 4178
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/sslbisocket/SSLBisocketClientInvoker.java
Log:
JBREM-978: Moved Socket.connect() to SecurityUtility.
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/sslbisocket/SSLBisocketClientInvoker.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/sslbisocket/SSLBisocketClientInvoker.java 2008-05-13
04:53:54 UTC (rev 4177)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/sslbisocket/SSLBisocketClientInvoker.java 2008-05-13
04:54:35 UTC (rev 4178)
@@ -38,6 +38,7 @@
import org.jboss.remoting.security.SSLSocketBuilder;
import org.jboss.remoting.socketfactory.SocketFactoryWrapper;
import org.jboss.remoting.transport.bisocket.BisocketClientInvoker;
+import org.jboss.remoting.util.SecurityUtility;
import org.jboss.remoting.util.socket.HandshakeRepeater;
/**
@@ -181,7 +182,7 @@
timeout = 0;
}
- s.connect(inetAddr, timeout);
+ SecurityUtility.connect(s, inetAddr, timeout);
if (s instanceof SSLSocket)
{