Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 72918 invoked from network); 5 Sep 2007 14:52:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Sep 2007 14:52:15 -0000 Received: (qmail 35648 invoked by uid 500); 5 Sep 2007 14:51:51 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 35630 invoked by uid 500); 5 Sep 2007 14:51:51 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 35478 invoked by uid 99); 5 Sep 2007 14:51:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 07:51:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zhuquanxin@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 14:51:46 +0000 Received: by wa-out-1112.google.com with SMTP id m38so2594992waf for ; Wed, 05 Sep 2007 07:51:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eNFFjKxxAEgru/rgMr8fn8LdRf6MTNWkCuNI615Nkb0TIYMrCcrh4+4/AnA5ug27Oa6R611BqF2KHWnHAvQW1HY50HyG2gnuAU2/15srewpU5VOp5ICUOfuG45DZvwGbACs0Jz/gMzQukd6yWzCmYF/nntUeO8bC5f1uOs7sPN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d7qRYiuFFvNmxZbhClNGJUh7G55GtC9l8K/F1YelLfjLJMOVx7gMwoDj7zMoT59IvhRzjT8wmNk1W5dqraUEc08D7/PvdPJKIvvlwaGS85I6N2v334wri60qVlFPXH6mPztlomjP+2iFMZI6Pvnt244g/WwWpZrVXTsyiWoP40c= Received: by 10.115.74.1 with SMTP id b1mr5530523wal.1189003886158; Wed, 05 Sep 2007 07:51:26 -0700 (PDT) Received: by 10.114.13.20 with HTTP; Wed, 5 Sep 2007 07:51:20 -0700 (PDT) Message-ID: <3bdcdf760709050751n619955abhff1c0be0a04683a6@mail.gmail.com> Date: Wed, 5 Sep 2007 22:51:26 +0800 From: "=?GB2312?B?1uzIq/bO?=" To: users@tomcat.apache.org Subject: Programmic login to tomcat using username and password In-Reply-To: <3bdcdf760709050745kfdec92anf0b42f0862539447@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3bdcdf760709050745kfdec92anf0b42f0862539447@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org hi, everyone I meet a problem about programmic login. I setup a tomcat server, and deploy two WAR files (applications) on it. One of the application A is protected by server authentication, and the other application B is not. I want to setup a scenario : when user navigates the application B, he could programmic login to tomcat using username and password that is coded in the application of B, and then he navigates the application A in the same browser, he never needs to response the challenge promoted by application A. I would very appreciate if someone could help me. Thanks Zhu Quanxin --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org