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-catalina/catalina/src/share/org/apache/catalina/authenticator AuthenticatorBase.java
Date Mon, 13 Sep 2004 21:07:43 GMT
remm        2004/09/13 14:07:43

  Modified:    catalina/src/share/org/apache/catalina/authenticator
                        AuthenticatorBase.java
  Log:
  - Fix bug where going through the authenticator would create a session each time. This fixes
all tester failures.
  
  Revision  Changes    Path
  1.25      +2 -2      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java
  
  Index: AuthenticatorBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- AuthenticatorBase.java	29 Aug 2004 16:46:09 -0000	1.24
  +++ AuthenticatorBase.java	13 Sep 2004 21:07:43 -0000	1.25
  @@ -365,7 +365,7 @@
           if (cache) {
               Principal principal = request.getUserPrincipal();
               if (principal == null) {
  -                Session session = request.getSessionInternal();
  +                Session session = request.getSessionInternal(false);
                   if (session != null) {
                       principal = session.getPrincipal();
                       if (principal != null) {
  
  
  

---------------------------------------------------------------------
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