I just received a reply this morning from my post to the jetty-discuss mail list late last week.
Brett Sealey wrote:
Thanks for the precise description of the problem. Looking in the
FormAuthenticator the problem is obvious and I have checked in a fix.
I downloaded the nightly build of jetty, copied the jar files into my jboss distribution and verified that it now works.
> What happens
> is: when you type in an invalid username/password,
> followed by the correct username/password, it will
> redirect the user back to the root of the server:
> (ie. http://localhost:8080/) But this only happens
> with the Jetty distribution, the Tomcat version
> correctly forwards the user to the originally
> requested page.
I had this exact problem last week with 3.0.7/Jetty, but not with 3.0.7/Tomcat. I also posted the problem to the jboss-user mailing list, but should have posted to a jetty list I guess.