Custom SSLServerSocket implementation

2005-08-26 Thread Alain Brousseau

Hi,
I need to tell Tomcat 5.5 to use my custom SSLServerSocketFactory for 
backwards compatibility with our client-side software.
It was relatively easy with Tomcat 4.1 (using a Factory element in the 
Connector configuration) but with tomcat 5.5 it doesn't work. The 
Connector seems to ignore the factory attribute.


How can this be done with Tomcat 5.5 ?
Thanks
Alain Brousseau


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Custom SSLServerSocket implementation

2005-08-26 Thread Bill Barker

Alain Brousseau [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi,
 I need to tell Tomcat 5.5 to use my custom SSLServerSocketFactory for 
 backwards compatibility with our client-side software.
 It was relatively easy with Tomcat 4.1 (using a Factory element in the 
 Connector configuration) but with tomcat 5.5 it doesn't work. The 
 Connector seems to ignore the factory attribute.

 How can this be done with Tomcat 5.5 ?

You can't implement a custom SSLServerSocketFactory in TC 5.5.  You can 
however implement a custom SSLImplementation.  You need to extend 
o.a.t.u.net.SSLImplementation (implementing the abstract methods), and then 
use something like:
   Connector port=443 secure=true scheme=https
sSLImplementation=com.myfirm.mypackage.MySSLImplementation /

 Thanks
 Alain Brousseau 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]