You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "andrew.jenkins" <an...@bankofamerica.com> on 2000/07/18 15:13:00 UTC

Tomcat returning incorrect listing of /examples/jsp/security/prot ected/jsp

I'm trying to test out the built-in user authentication support in Tomcat
3.1 per
Section 11 of the 2.2 Servlet Spec.

I've noticed a few problems.  I apologize if these are asked and answered--
I didn't see these issues in the README know bugs, but I'm new to this list.

1. Using the example protected pages in
/examples/jsp/security/protected/jsp,
after a successful login using either BASIC or EXPERIMENTAL_FORMS
authentication,
Tomcat displays the content of "/examples/jsp" when the requested URL is
actually "/examples/jsp/security/protected/".  Furthermore, if the browser
is pointed to the examples which (erroneously) appear under this URL,
the JSPs in these pages are returned as is--they are not compiled.

2. Using the EXPERIMENTAL_FORMS authentication, entering incorrect
login information causes the login page to be reset and redisplayed,
rather than causing the error page to be displayed.

3. Using Apache, the BASIC authentication appears to suffer from
#1 as well.  The forms-based login causes Apache to return Not Found
on /examples/jsp/security/login/j_security_check.

Anyone experienced these?  Is there an up-to-date location for bug
finds/fixes until the Bug Database is back up?

Thanks.

--Andy


Andy Jenkins
Bank of America - GCIB Software Engineering
voice: 704.387.4168
mailto:andrew.jenkins@bankofamerica.com


Re: Tomcat returning incorrect listing of /examples/jsp/security/protected/jsp

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
"andrew.jenkins" wrote:

> I'm trying to test out the built-in user authentication support in Tomcat
> 3.1 per
> Section 11 of the 2.2 Servlet Spec.
>
> I've noticed a few problems.  I apologize if these are asked and answered--
> I didn't see these issues in the README know bugs, but I'm new to this list.
>

In Tomcat 3.1, this stuff is pretty badly broken.  Try it with the recent beta
of Tomcat 3.2.

Craig McClanahan