tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <wool...@gmail.com>
Subject Re: <url-pattern> with Basic Auth
Date Tue, 09 Nov 2004 01:05:49 GMT
well, looks like parameter are not allowed in the map as I had suspected.

url-patterns that do not begin with either "/", "*." are treated at
exact matches, which wouldn't work with request parameters, since wild
cards are not allowed. oh well, that's life.

peter


On Mon, 8 Nov 2004 16:33:01 -0500, Shapira, Yoav <yoav.shapira@mpi.com> wrote:
> 
> Hi,
> It's SRV.11.2 in the Spec, and org.apache.tomcat.util.http.mapper.Mapper
> in the Tomcat source code.
> 
> Yoav Shapira http://www.yoavshapira.com
> 
> 
> 
> 
> >-----Original Message-----
> >From: Peter Lin [mailto:woolfel@gmail.com]
> >Sent: Monday, November 08, 2004 4:27 PM
> >To: Tomcat Users List
> >Subject: Re: <url-pattern> with Basic Auth
> >
> >hehe, I did a search of spec 2.2 and 2.3 on url-pattern and didn't
> >find the definition. I guess I'll have to look at earlier specs for
> >the definition. either that or I missed it.
> >
> >peter
> >
> >
> >
> >On Mon, 8 Nov 2004 14:22:36 -0600, Mike Curwen
> ><g_dev9xq@globallyboundless.com> wrote:
> >> I'd think url-pattern elements (regardless of where they appear) need
> to
> >> conform to the url-patterns specified in the spec (not sure of
> section).
> >>
> >> paths: starting with '/' and ending with '/*'
> >> extensions:  '*.foo'
> >> exact: exact matching.
> >>
> >> The url-pattern I've left from your original message doesn't match
> any of
> >> these.
> >>
> >>
> >>
> >>
> >> > -----Original Message-----
> >> > From: Peter Lin [mailto:woolfel@gmail.com]
> >> > Sent: Monday, November 08, 2004 1:57 PM
> >> > To: tomcat-user
> >> > Subject: <url-pattern> with Basic Auth
> >> >
> >> >       <url-pattern>/AuthServlet?*param1=account1*</url-pattern>
> >> >
> >> > I tried it and cross-referenced the servlet spec. It doesn't
> >> > appear to say if this is allowed or not. Anyone know?
> >> >
> >> > peter
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the sender.  Thank you.
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message