You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SEC-2107: Fix Javadoc on methods of AbstractAuthenticationProcessingFilter
Both overloads of
AbstractAuthenticationProcessingFilter.successfulAuthentication()
claimed to invoke SessionAuthenticationStrategy, which is not true, as
the invokation happens earlier in doFilter(). The Javadoc on these
methods are updated to reflect the actual code.
Copy file name to clipboardExpand all lines: web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,8 @@ public void afterPropertiesSet() {
161
161
* to perform the authentication. There are then three possible outcomes:
162
162
* <ol>
163
163
* <li>An <tt>Authentication</tt> object is returned.
164
-
* The configured {link SessionAuthenticationStrategy} will be invoked followed by the
164
+
* The configured {@link SessionAuthenticationStrategy} will be invoked (to handle any session-related behaviour
165
+
* such as creating a new session to protect against session-fixation attacks) followed by the invocation of
0 commit comments