Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 98967 invoked from network); 14 Sep 2005 14:13:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2005 14:13:32 -0000 Received: (qmail 79186 invoked by uid 500); 14 Sep 2005 14:13:15 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 79171 invoked by uid 500); 14 Sep 2005 14:13:15 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 79158 invoked by uid 99); 14 Sep 2005 14:13:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 07:13:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ajay.daryanani@rediris.es designates 130.206.1.3 as permitted sender) Received: from [130.206.1.3] (HELO chico.rediris.es) (130.206.1.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 07:13:25 -0700 Received: from [130.206.1.168] (serrano.rediris.es [130.206.1.168]) by chico.rediris.es (8.12.10/8.9.1) with ESMTP id j8EEDB3f027471 for ; Wed, 14 Sep 2005 16:13:11 +0200 (CEST) Message-ID: <43282FF1.8020506@rediris.es> Date: Wed, 14 Sep 2005 16:13:05 +0200 From: Ajay Arjandas Daryanani Organization: RedIRIS User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Storing a request References: <4326A392.2030704@rediris.es> <4327158B.9010105@apache.org> In-Reply-To: <4327158B.9010105@apache.org> X-Enigmail-Version: 0.91.0.0 OpenPGP: url=http://pgp.rediris.es:11371/pks/lookup?op=vindex&search=0x2347147C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Mark, > Take a look at how form authenticator does it. See > http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/FormAuthenticator.java?rev=1.24&view=markup > > and the SavedRequest class in the same package. > > Note that the way this restores the request, particularly the body > content, is *very* Tomcat specific. > > Mark > thanks for your help. But I still find some trouble: the authenticate method in FormAuthenticator receives a org.apache.catalina.connector.Request object, and the filter I'm developing has to implement the doFilter method, which receives a RequestFacade object (keeping inside a org.apache.catalina.connector.Request object, but i'm unable to set or get it's value). Regards Ajay -- ============================================= Ajay Arjandas Daryanani Area de Middleware RedIRIS / Red.es Edificio Bronce Plaza de Manuel G�mez Moreno, s/n - 2� planta 28020 Madrid Tel.: 91 212 76 20 (Ext. 5541) Fax : 91 556 88 64 e-mail: ajay@rediris.es jid: ajay@im.rediris.es http://www.rediris.es ============================================= --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org