Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 16716 invoked from network); 29 Nov 2005 15:35:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 15:35:09 -0000 Received: (qmail 34556 invoked by uid 500); 29 Nov 2005 15:34:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 34519 invoked by uid 500); 29 Nov 2005 15:34:48 -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 34484 invoked by uid 99); 29 Nov 2005 15:34:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 07:34:47 -0800 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 funkman@joedog.org designates 204.74.20.252 as permitted sender) Received: from [204.74.20.252] (HELO sid.armstrong.com) (204.74.20.252) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 07:36:17 -0800 Received: from [10.38.20.134] (tafunk-lt.americas.armstrong.com [10.38.20.134]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id jATFeXuH020197 for ; Tue, 29 Nov 2005 10:40:33 -0500 Message-ID: <438C7501.8080206@joedog.org> Date: Tue, 29 Nov 2005 10:34:25 -0500 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Users List Subject: Re: web.xml question References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Security constraints are only imposed on the incoming URL. Long story short - you'll need to place the entire webapp in SSL. There is no clean way to use declarative statements to force the login to be SSL and the rest of the webapp be nonssl. -Tim Klotz Jr, Dennis wrote: > Hello all. I hope your day is going well. > > I need your help. > > I cannot get a forms based login page to use SSL when I think I've setup > the web.xml correctly. > > Why doesn't my login.jsp use HTTPS when tomcat is invoking it for > authorization? (more details at the bottom) > > Here are the relevant sections of my web.xml: > > ----------------------------------------- > > > > > Login page > /login.jsp > GET > POST > > > > > > CONFIDENTIAL > > > > > > > > > > > > FORM > Application > > /login.jsp > /error_401.html > > > > > > > > VoIP Monitor Applications > /CallQDiagnostics.jsp > /report_index.jsp > /CallQAnalysis.jsp > /index.jsp > GET > POST > > > > monitor_tier1 > monitor_guest > monitor_admin > monitor_tier3 > > > > > > NONE > > > > > > ---------------------------------------------------------- > > So here is what happens. I type the full URL to the CallQAnalsysis.jsp > (for example) and the login.jsp is invoked BUT it has NOT been > redirected to the HTTPS connector (which is enabled and working). > > Now if I type the address of the login.jsp directly, then the connection > is redirected over HTTPS. > > Why doesn't the login.jsp use HTTPS when tomcat is invoking it for > authorization? > > Any help figuring out what I am doing wrong is greatly appreciated. > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org