Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 57498 invoked from network); 24 Feb 2004 06:54:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Feb 2004 06:54:34 -0000 Received: (qmail 98784 invoked by uid 500); 24 Feb 2004 06:53:50 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 98770 invoked by uid 500); 24 Feb 2004 06:53:50 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 98755 invoked from network); 24 Feb 2004 06:53:50 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 24 Feb 2004 06:53:50 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AvWS9-0003Fp-00 for ; Tue, 24 Feb 2004 07:54:01 +0100 Received: from 4.43.180.113 ([4.43.180.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue Feb 24 06:54:01 2004 Received: from wbarker by 4.43.180.113 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue Feb 24 06:54:01 2004 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-user@jakarta.apache.org From: "Bill Barker" Subject: Re: ServerSocketFactories for Connectors Date: Mon, 23 Feb 2004 23:06:41 -0800 Lines: 41 Message-ID: References: <1077583464.7724.10.camel@hoss.stanford.edu> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 4.43.180.113 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N "Anton Ushakov" wrote in message news:1077583464.7724.10.camel@hoss.stanford.edu... > Hi, > > For a webservices project we need to override the ServerSocketFactory > used with a http connector, - we are implementing our own httpg using > overriden Input/Output streams that do GSS-API authentication. > > It works fine when I do this in server.xml on tomcat-4.1.29 > className="org.apache.catalina.connector.http.HttpConnector" > port="6688" scheme="httpg" secure="true"> > > > > But I know that HttpConnector is deprecated in favor of CoyoteConnector, > and the same configuration with the CoyoteConnector basically ignores > the Factory setting, and just keeps using normal http. > Yes, the element is deprecated for the CoyoteConnector. > Question: how can we override the ServerSocketFactory for the > CoyoteConnector? > You can set the socketFactory="fully.qualified.name.of.MyOwnServerSocketFactory" attribute on the element. The catch is that you need to have: public class MyOwnServerSocketFactory extends org.apache.tomcat.util.net.ServerSocketFactory { ... } However, it should still give you enough to do what you want. > thank you > -anton --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org