tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christine Ho <opensrc...@yahoo.com>
Subject Support JSS in Tomcat
Date Wed, 20 Jul 2005 23:54:57 GMT
Hi,
  Tomcat 5.5.x supports JSSE only. I am working on web
application which uses JSS
(http://www.mozilla.org/projects/security/pki/jss/javadoc/)
I need to run the web application on Tomcat 5.x. I
implemented the JSSSocketFactory.java, JSSSupport.java
etc in the new package called
org.apache.tomcat.util.net.jss. I tried to specify the
SocketFactory class in server.xml but it doesnt work.
I thought we can do something like that:

<Connector
className="org.apache.catalina.connector.http.HttpConnector"
           port="8443" minProcessors="5"
maxProcessors="75"
           enableLookups="true"
           acceptCount="10" debug="0" scheme="https"
secure="true">
  <Factory
className="org.apache.tomcat.util.net.jss.JSSServerSocketFactory"
           clientAuth="false" protocol="SSL"/>
</Connector>

It doesnt work at all. I looked at the source code and
found out that SSLImplementationName is always null.
Currently, I have to change the implementations array
in SSLImplementation.java to include my implementation
class which is JSSImplementationClass. Then recompiled
the tomcat and it works. I just wonder if I overlook
some of the configuration parameters in server.xml. If
the server.xml in tomcat 5.5 does not support the
Factory parameter, then I would like to modify the
codes to support this feature. Therefore i dont need
to recompile the tomcat to include my
SSLServerSocketFactory implementation. Also I would
like to contribute my codes for the JSS
ServerSocketFactory implementation if you are
interested.

Christine


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message