tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator BasicAuthenticator.java DigestAuthenticator.java
Date Tue, 06 Mar 2001 05:08:16 GMT
remm        01/03/05 21:08:16

  Modified:    catalina/src/share/org/apache/catalina/authenticator
                        BasicAuthenticator.java DigestAuthenticator.java
  Log:
  - Don't set content length to 0.
  
  Revision  Changes    Path
  1.7       +4 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/BasicAuthenticator.java
  
  Index: BasicAuthenticator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/BasicAuthenticator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BasicAuthenticator.java	2000/12/16 04:03:29	1.6
  +++ BasicAuthenticator.java	2001/03/06 05:08:16	1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/BasicAuthenticator.java,v
1.6 2000/12/16 04:03:29 craigmcc Exp $
  - * $Revision: 1.6 $
  - * $Date: 2000/12/16 04:03:29 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/BasicAuthenticator.java,v
1.7 2001/03/06 05:08:16 remm Exp $
  + * $Revision: 1.7 $
  + * $Date: 2001/03/06 05:08:16 $
    *
    * ====================================================================
    *
  @@ -84,7 +84,7 @@
    * and Digest Access Authentication."
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.6 $ $Date: 2000/12/16 04:03:29 $
  + * @version $Revision: 1.7 $ $Date: 2001/03/06 05:08:16 $
    */
   
   public final class BasicAuthenticator
  @@ -172,7 +172,6 @@
       //            log("Challenging for realm '" + realmName + "'");
   	hres.setHeader("WWW-Authenticate", 
                          "Basic realm=\"" + realmName + "\"");
  -        hres.setContentLength(0);
   	hres.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
           //	hres.flushBuffer();
   	return (false);
  
  
  
  1.6       +4 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java
  
  Index: DigestAuthenticator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DigestAuthenticator.java	2000/12/16 04:03:29	1.5
  +++ DigestAuthenticator.java	2001/03/06 05:08:16	1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java,v
1.5 2000/12/16 04:03:29 craigmcc Exp $
  - * $Revision: 1.5 $
  - * $Date: 2000/12/16 04:03:29 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java,v
1.6 2001/03/06 05:08:16 remm Exp $
  + * $Revision: 1.6 $
  + * $Date: 2001/03/06 05:08:16 $
    *
    * ====================================================================
    *
  @@ -88,7 +88,7 @@
    * 
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.5 $ $Date: 2000/12/16 04:03:29 $
  + * @version $Revision: 1.6 $ $Date: 2001/03/06 05:08:16 $
    */
   
   public final class DigestAuthenticator
  @@ -416,7 +416,6 @@
           // System.out.println("Authenticate header value : " 
           //                   + authenticateHeader);
           response.setHeader("WWW-Authenticate", authenticateHeader);
  -        response.setContentLength(0);
           
       }
   
  
  
  

Mime
View raw message