tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Rosenberg ...@tabbysplace.org>
Subject Re: Confused by url-pattern in Contatner Managed Auth
Date Mon, 07 Mar 2011 14:52:43 GMT
>> My bet is that the webapp is deployed under "/Adoption" and therefore
>> the <url-pattern> should not have "/Adoption" prepended to it.

This was indeed the problem.  Took me awhile to figure that out.  Next
time I'll provide more info up front.

Thanks.

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org/


On Mon, Mar 7, 2011 at 9:40 AM, Christopher Schultz
<chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chuck,
>
> On 3/5/2011 6:26 PM, Caldarale, Charles R wrote:
>>> From: shmoldie@gmail.com [mailto:shmoldie@gmail.com] On Behalf Of Jonathan Rosenberg
>>> Subject: Confused by url-pattern in Contatner Managed Auth
>>
>>> I thought this would require auth for the url
>>> /Adoption/application/list, but there is no
>>> challenge when I test.
>>
>> Need more information: under what name is your webapp deployed, and what is the complete
URL you're trying to use?
>
> +1
>
> My bet is that the webapp is deployed under "/Adoption" and therefore
> the <url-pattern> should not have "/Adoption" prepended to it.
>
> To Jonathan: all URLs within a webapp will be webapp-relative, so if you
> deploy into "/Adoption", you should never have "/Adoption" at the
> beginning of any of your URLs.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk107nYACgkQ9CaO5/Lv0PDALACdHMPzj8NSKKUTO/Wy+3syyMdx
> xecAoIrEeb231UnYnimh8EV4kIZ5WteD
> =YRey
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Mime
View raw message