Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 58246 invoked from network); 2 Mar 2005 22:33:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Mar 2005 22:33:30 -0000 Received: (qmail 38816 invoked by uid 500); 2 Mar 2005 22:33:25 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 38790 invoked by uid 500); 2 Mar 2005 22:33:25 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 38775 invoked by uid 99); 2 Mar 2005 22:33:24 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 02 Mar 2005 14:33:24 -0800 Received: (qmail 58207 invoked from network); 2 Mar 2005 22:33:23 -0000 Received: from localhost.hyperreal.org (HELO ?127.0.0.1?) (127.0.0.1) by localhost.hyperreal.org with SMTP; 2 Mar 2005 22:33:23 -0000 Message-ID: <42263F32.4090404@apache.org> Date: Wed, 02 Mar 2005 23:33:22 +0100 From: Remy Maucherat User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm RealmBase.java References: <20050302192711.62873.qmail@minotaur.apache.org> <42261A67.1090409@apache.org> <008801c51f64$e347a080$cb37a8c0@bbarkerxp> <4226275C.2080803@sun.com> <42263103.4080105@apache.org> <422635A3.9000307@sun.com> In-Reply-To: <422635A3.9000307@sun.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jan Luehe wrote: > Remy, > > Remy Maucherat wrote: > >>Jan Luehe wrote: >> >>>Bill/Remy, >>> >>>But SRV.9.10 ("Welcome Files") already has this: >>> >>> The container may send the request to the welcome resource with >>> a forward, a redirect, or a container specific mechanism >>> **that is indistinguishable from a direct request**. >>> >>>The latter to me implies that any sec constraints must be applied >>>to the mapped welcome page (if any). >> >>The plot thickens. > > What do you mean by that? ;-) > Do you agree the spec is pretty clear about the fact that > any sec constraints must be applied to welcome page? It means that the statement would seem to be conflicting with other things, but still seems relevant to the topic. So it makes the problem more complex. >>Right. However, when I made that commit, the current mapper behavior may >>not have been in place already, or maybe it's simply that I thought the >>two would be equivalent (I was busy optimizing at the time). I don't >>quite remember ;) > > I think you did the right thing without realizing it. :) > The change I committed earlier today is just consistent with > what you had done. I was out to kiil the substring thing. > I'm still nervous about request.getDecodedRequestURI() returning > the original URI even after the request has been mapped to a welcome > page. This violates spec requirement that any container specific > mechanism for mapping request to welcome page must be > "indistinguishable from a direct request". Changing this is very risky, as it will have uses elsewhere. If using Eclipse, you should use the call hierarchy (since it's an internal method which is never used through reflection). R�my --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org