From: Jules G. <jul...@us...> - 2002-08-31 00:07:36
|
User: jules_gosnell Date: 02/08/30 17:07:35 Modified: jetty/src/main/org/mortbay/jetty/servlet FormAuthenticator.java Default.java Log: we are now up with : Jetty-4.1.0RC4 - 30 August 2002 + Included IbmJsseListener in the contrib directory. + Updated jasper2 to 4.1.10 tag. + Reverted to 302 for all redirections as all clients do not understand 303 + Created statsLock sync objects to avoid deadlock when stopping. Revision Changes Path 1.7 +4 -4 contrib/jetty/src/main/org/mortbay/jetty/servlet/FormAuthenticator.java Index: FormAuthenticator.java =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/servlet/FormAuthenticator.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- FormAuthenticator.java 29 Aug 2002 20:14:21 -0000 1.6 +++ FormAuthenticator.java 31 Aug 2002 00:07:34 -0000 1.7 @@ -1,6 +1,6 @@ // =========================================================================== // Copyright (c) 1996-2002 Mort Bay Consulting Pty. Ltd. All rights reserved. -// $Id: FormAuthenticator.java,v 1.6 2002/08/29 20:14:21 jules_gosnell Exp $ +// $Id: FormAuthenticator.java,v 1.7 2002/08/31 00:07:34 jules_gosnell Exp $ // --------------------------------------------------------------------------- package org.mortbay.jetty.servlet; @@ -21,7 +21,7 @@ /* ------------------------------------------------------------ */ /** - * @version $Id: FormAuthenticator.java,v 1.6 2002/08/29 20:14:21 jules_gosnell Exp $ + * @version $Id: FormAuthenticator.java,v 1.7 2002/08/31 00:07:34 jules_gosnell Exp $ * @author Greg Wilkins (gregw) */ public class FormAuthenticator implements Authenticator @@ -106,7 +106,7 @@ nuri=URI.addPaths(request.getContextPath(),_formErrorPage); response.setHeader(HttpFields.__Location,nuri); - response.sendError(HttpResponse.__303_See_Other); + response.sendError(HttpResponse.__302_Moved_Temporarily); } else { @@ -114,7 +114,7 @@ response.setHeader(HttpFields.__Location, URI.addPaths(request.getContextPath(), _formErrorPage)); - response.sendError(HttpResponse.__303_See_Other); + response.sendError(HttpResponse.__302_Moved_Temporarily); } // Security check is always false, only true after final redirection. 1.5 +3 -3 contrib/jetty/src/main/org/mortbay/jetty/servlet/Default.java Index: Default.java =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/jetty/servlet/Default.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Default.java 29 Aug 2002 20:14:21 -0000 1.4 +++ Default.java 31 Aug 2002 00:07:34 -0000 1.5 @@ -1,6 +1,6 @@ // =========================================================================== // Copyright (c) 1996-2002 Mort Bay Consulting Pty. Ltd. All rights reserved. -// $Id: Default.java,v 1.4 2002/08/29 20:14:21 jules_gosnell Exp $ +// $Id: Default.java,v 1.5 2002/08/31 00:07:34 jules_gosnell Exp $ // --------------------------------------------------------------------------- package org.mortbay.jetty.servlet; @@ -57,7 +57,7 @@ * * The MOVE method is allowed if PUT and DELETE are allowed * - * @version $Id: Default.java,v 1.4 2002/08/29 20:14:21 jules_gosnell Exp $ + * @version $Id: Default.java,v 1.5 2002/08/31 00:07:34 jules_gosnell Exp $ * @author Greg Wilkins (gregw) */ public class Default extends HttpServlet @@ -208,7 +208,7 @@ buf.append(q); } response.setHeader(HttpFields.__Location, URI.addPaths(buf.toString(),"/")); - response.setStatus(HttpResponse.__303_See_Other); + response.setStatus(HttpResponse.__302_Moved_Temporarily); response.flushBuffer(); return; } |