فهرست منبع

SEC-1770: Call refreshLastRequest on the session registry rather than the SessionInformation object to make sure it works with alternative SessionRegistry implementations.

Luke Taylor 14 سال پیش
والد
کامیت
ca2af8bc59
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      web/src/main/java/org/springframework/security/web/session/ConcurrentSessionFilter.java

+ 1 - 1
web/src/main/java/org/springframework/security/web/session/ConcurrentSessionFilter.java

@@ -101,7 +101,7 @@ public class ConcurrentSessionFilter extends GenericFilterBean {
                     return;
                 } else {
                     // Non-expired - update last request date/time
-                    info.refreshLastRequest();
+                    sessionRegistry.refreshLastRequest(info.getSessionId());
                 }
             }
         }