tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1487862 - /tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java
Date Thu, 30 May 2013 13:49:40 GMT
Author: markt
Date: Thu May 30 13:49:40 2013
New Revision: 1487862

URL: http://svn.apache.org/r1487862
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54999
Fix JSESSIONIDSSO not recreated when a logout and login occur in the same request.
Patch provided by Keith Mashinter

Modified:
    tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java

Modified: tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java?rev=1487862&r1=1487861&r2=1487862&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java Thu May 30
13:49:40 2013
@@ -758,6 +758,7 @@ public abstract class AuthenticatorBase 
             if (principal == null) {
                 // Registering a programmatic logout
                 sso.deregister(ssoId);
+                request.removeNote(Constants.REQ_SSOID_NOTE);
                 return;
             } else {
                 // Update the SSO session with the latest authentication data



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


Mime
View raw message