Community
Participate
Working Groups
Request.login method must either successfully newly log in the user or throw a ServletException. In particular if there is no auth configured or the user is already logged in it must throw a servlet exception. This does not appear to apply to jetty 7, there is no login method on Request there.
Fixed rev 2250. I included no message in the ServletException since I wonder about leaking information about security failures back to the client.
Greg, for your review.
DeferredAuthentication.login isn't implemented. It would be nice having that working. In the meantime Request.login should throw ServletException every time instead of silently not working.
Sebastian, We've implemented Request.login() in jetty-8. See svn rev 2645. It would be great if you could test that in your setup. thanks Jan