Browse Source

📔 Documentation
1. Correct the org.springframework.security.config.annotation.web.LogoutDsl's property description

Signed-off-by: Simon Von <g1672943850@gmail.com>

Simon Von 1 month ago
parent
commit
0927bed66a

+ 1 - 1
config/src/main/kotlin/org/springframework/security/config/annotation/web/LogoutDsl.kt

@@ -35,7 +35,7 @@ import jakarta.servlet.http.HttpSession
  * @since 5.3
  * @property clearAuthentication whether the [SecurityContextLogoutHandler] should clear
  * the [Authentication] at the time of logout.
- * @property clearAuthentication whether to invalidate the [HttpSession] at the time of logout.
+ * @property invalidateHttpSession whether to invalidate the [HttpSession] at the time of logout.
  * @property logoutUrl the URL that triggers log out to occur.
  * @property logoutRequestMatcher the [RequestMatcher] that triggers log out to occur.
  * @property logoutSuccessUrl the URL to redirect to after logout has occurred.