>> 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
<[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chuck,
>
> On 3/5/2011 6:26 PM, Caldarale, Charles R wrote:
>>> From: [email protected] [mailto:[email protected]] 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to