1993heqiang преди 2 години
родител
ревизия
94c80bc2c6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      web/src/main/java/org/springframework/security/web/access/ExceptionTranslationFilter.java

+ 1 - 1
web/src/main/java/org/springframework/security/web/access/ExceptionTranslationFilter.java

@@ -94,7 +94,7 @@ public class ExceptionTranslationFilter extends GenericFilterBean implements Mes
 
 	private ThrowableAnalyzer throwableAnalyzer = new DefaultThrowableAnalyzer();
 
-	private RequestCache requestCache = new HttpSessionRequestCache();
+	private final RequestCache requestCache;
 
 	protected MessageSourceAccessor messages = SpringSecurityMessageSource.getAccessor();