From d31ca7a758535f0336034acfc398bff6bd67c610 Mon Sep 17 00:00:00 2001
From: Robert Winch <362503+rwinch@users.noreply.github.com>
Date: Tue, 24 Feb 2026 09:54:36 -0600
Subject: [PATCH] Fix SecurityContextLogoutHandler.logout @param response
Javadoc (cannot be null)
Closes gh-18357
---
.../web/authentication/logout/SecurityContextLogoutHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/src/main/java/org/springframework/security/web/authentication/logout/SecurityContextLogoutHandler.java b/web/src/main/java/org/springframework/security/web/authentication/logout/SecurityContextLogoutHandler.java
index 92f9214143..1e76b17a59 100644
--- a/web/src/main/java/org/springframework/security/web/authentication/logout/SecurityContextLogoutHandler.java
+++ b/web/src/main/java/org/springframework/security/web/authentication/logout/SecurityContextLogoutHandler.java
@@ -61,7 +61,7 @@ public class SecurityContextLogoutHandler implements LogoutHandler {
/**
* Requires the request to be passed in.
* @param request from which to obtain a HTTP session (cannot be null)
- * @param response not used (can be null)
+ * @param response the response (cannot be null)
* @param authentication not used (can be null)
*/
@Override