Explorar el Código

SEC-767: Added override for flushBuffer in response wrapper.

Luke Taylor hace 17 años
padre
commit
d6e5dbbcfd

+ 5 - 0
core/src/main/java/org/springframework/security/ui/SessionFixationProtectionFilter.java

@@ -150,6 +150,11 @@ public class SessionFixationProtectionFilter extends SpringSecurityFilter {
             startNewSession();
             super.sendRedirect(location);
         }
+        
+        public void flushBuffer() throws IOException {
+            startNewSession();
+            super.flushBuffer();
+        }
 
         /**
          * Calls <code>startNewSessionIfRequired()</code>