You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ge...@apache.org on 2010/11/03 10:06:22 UTC

svn commit: r1030363 - /geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java

Author: genspring
Date: Wed Nov  3 09:06:22 2010
New Revision: 1030363

URL: http://svn.apache.org/viewvc?rev=1030363&view=rev
Log:
GERONIMO-5662 fail to replace default Security Realm, patch from Viola.

Modified:
    geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java

Modified: geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java?rev=1030363&r1=1030362&r2=1030363&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java (original)
+++ geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java Wed Nov  3 09:06:22 2010
@@ -431,7 +431,7 @@ public class FormAuthenticator implement
     }
 
     private void disableClientCache(HttpServletResponse response) {
-        response.setHeader("Cache-Control", "No-cache");
+        response.setHeader("Cache-Control", "No-cache,no-store");
         response.setDateHeader("Expires", 1);
     }