tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 CoyoteAdapter.java
Date Sun, 04 Apr 2004 19:10:01 GMT
markt       2004/04/04 12:10:01

  Modified:    catalina/src/share/org/apache/coyote/tomcat5
                        CoyoteAdapter.java
  Log:
  - Fix bug 16157. Set AuthType on HttpServletRequest.
  - Second part of patch.
  - Patch submitted by Kan Ogawa.
  
  Revision  Changes    Path
  1.21      +7 -1      jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteAdapter.java
  
  Index: CoyoteAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteAdapter.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- CoyoteAdapter.java	18 Mar 2004 23:51:47 -0000	1.20
  +++ CoyoteAdapter.java	4 Apr 2004 19:10:01 -0000	1.21
  @@ -246,6 +246,12 @@
               request.setUserPrincipal(new CoyotePrincipal(principal));
           }
   
  +        // Set the authorization type
  +        String authtype = req.getAuthType().toString();
  +        if (authtype != null) {
  +            request.setAuthType(authtype);
  +        }
  +
           // URI character decoding
           convertURI(decodedURI, request);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message