Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 38810 invoked from network); 6 Feb 2002 10:51:08 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Feb 2002 10:51:08 -0000 Received: (qmail 23821 invoked by uid 97); 6 Feb 2002 10:50:48 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 23785 invoked by uid 97); 6 Feb 2002 10:50:47 -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 23774 invoked from network); 6 Feb 2002 10:50:47 -0000 Message-ID: <20020206105047.97970.qmail@web20908.mail.yahoo.com> Date: Wed, 6 Feb 2002 10:50:47 +0000 (GMT) From: =?iso-8859-1?q?Janek=20Bogucki?= Subject: Re: Is it possible to prevent Tomcat from creating a response? To: Tomcat Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Would creating a redirection work after successful A & A work? HTTP/1.0 302 Document follows Location: http://xxx.accenture.com/new-location/index.html Will this code be executed within a webapp or within a modified version of mod_webapp? -Janek --- vegard.myrland@accenture.com wrote: > I'm creating a single sign on plugin to different http servers using > Tomcat. > > Functionality: If the user is not authenticated or authorized for the > requested resource the user is redirected to another site for log in. > If the user is authorized for the requested resource, the Tomcat module has > done his part. The request should be returned to the http server and let > the content delivery system(an application server, CGI scripts, etc) create > the response. > > My problem is that I'm not able to tell the http server that Tomcat don't > want to create the response. For example: With Apache http server I think > the clue is to make mod_webapp return "DECLINED" instead of "OK", but does > anyone know how this can be done from Tomcat? > > Or another way this can be done? > > thanks, > > Vegard > > ------------------ > Vegard Myrland > > Accenture > Communication & High Tech > P.O. Box 550 Sk�yen, NO-0214 Oslo, Norway > Phone (direct): +47 22 12 65 70 > Phone (mobile): + 47 952 47 047 > Fax: + 47 22 12 60 00 > e-mail: vegard.myrland@accenture.com > > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the email by you is prohibited. > > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe: For additional commands: Troubles with the list: