Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 408 invoked from network); 9 Jan 2003 19:28:11 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 9 Jan 2003 19:28:11 -0000 Received: (qmail 8095 invoked by uid 97); 9 Jan 2003 19:27:58 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 7902 invoked by uid 97); 9 Jan 2003 19:27:57 -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 7755 invoked by uid 98); 9 Jan 2003 19:27:54 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: "Shah, Sanjay" To: "'Craig R. McClanahan'" Cc: "'Tomcat Users List'" Subject: RE: FTP and Tomcat Date: Thu, 9 Jan 2003 14:26:27 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N What is custom Valve (I am very new to tomcat)? Do you mean custom servlet/cgi? -----Original Message----- From: Craig R. McClanahan [mailto:craigmcc@apache.org] Sent: Thursday, January 09, 2003 2:20 PM To: Shah, Sanjay Cc: 'Tomcat Users List' Subject: RE: FTP and Tomcat On Thu, 9 Jan 2003, Shah, Sanjay wrote: > Date: Thu, 9 Jan 2003 14:17:06 -0500 > From: "Shah, Sanjay" > To: 'Craig R. McClanahan' > Cc: 'Tomcat Users List' > Subject: RE: FTP and Tomcat > > > I am going to use http transfer method using tomcat (Second option in your > response). > Is there a way I can configure tomcat to redirect users to respective > location/page/directory based on their user names? > You'd need to write a custom Valve (the Tomcat internal version of a Filter) to do this, but it shouldn't be all that difficult. If everything is inside a single webapp, then writing your Filter (as part of the webapp itself) would also be straightforward -- and portable to any Servlet 2.3 container as well. Craig > Thanks again. > -----Original Message----- > From: Craig R. McClanahan [mailto:craigmcc@apache.org] > Sent: Thursday, January 09, 2003 2:10 PM > To: Shah, Sanjay > Cc: 'Tomcat Users List' > Subject: Re: FTP and Tomcat > > > > > On Thu, 9 Jan 2003, Shah, Sanjay wrote: > > > Date: Thu, 9 Jan 2003 13:52:55 -0500 > > From: "Shah, Sanjay" > > To: 'Craig R. McClanahan' > > Cc: 'Tomcat Users List' > > Subject: FTP and Tomcat > > > > Craig, > > > > Thanks. What do you mean by standard FTP server? Is that a separate from > > Tomcat? > > If so, which FTP server did you use? > > I've used several -- including WU-FTPD that Red Hat documents. Solaris > comes with one as well. > > > Is it possible to integrate that ftp > > server to tomcat? > > I am trying to give secure ftp access to clients after their > authentication. > > And I am trying to use tomcat as Request handler server providing > > authentication. > > I don't know of any standard TCP client apps that will support > authenticating across HTTP and transferring files over FTP, so it's not > clear to me that such an animal would be useful even if it did exist. > Also, if you're just downloading files, why not just let them download the > files via HTTP already since they are already interacting with you that > way? > > It wouldn't be terribly difficult to make the same usernames and passwords > work for both -- find an FTP server that lets you plug in an > authentication module (some of them use PAM for that sort of thing), and > configure the plugin so that it looks at the same database or whatever > that you point Tomcat at. > > Craig > > -- To unsubscribe, e-mail: For additional commands, e-mail: