From 8b2ce79341866c4850adf50a0a4101f4199efc67 Mon Sep 17 00:00:00 2001 From: Qie <64351271+wiketool@users.noreply.github.com> Date: Sun, 19 Feb 2023 22:43:32 +0800 Subject: [PATCH] Correct deprecated description in docs Remove deprecated SecurityContextPersistenceFilter from docs. Closes gh-12690 --- .../ROOT/pages/servlet/authentication/architecture.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/servlet/authentication/architecture.adoc b/docs/modules/ROOT/pages/servlet/authentication/architecture.adoc index a4aa61e4c6..fe830008a3 100644 --- a/docs/modules/ROOT/pages/servlet/authentication/architecture.adoc +++ b/docs/modules/ROOT/pages/servlet/authentication/architecture.adoc @@ -248,8 +248,9 @@ image:{icondir}/number_4.png[] If authentication is successful, then __Success__ * `SessionAuthenticationStrategy` is notified of a new login. See the {security-api-url}org/springframework/security/web/authentication/session/SessionAuthenticationStrategy.html[`SessionAuthenticationStrategy`] interface. * The <> is set on the <>. -Later, the `SecurityContextPersistenceFilter` saves the `SecurityContext` to the `HttpSession`. -See the {security-api-url}org/springframework/security/web/context/SecurityContextPersistenceFilter.html[`SecurityContextPersistenceFilter`] class. +Later, if you need to save the `SecurityContext` so that it can be automatically set on future requests, `SecurityContextRepository#saveContext` must be explicitly invoked. +See the {security-api-url}org/springframework/security/web/context/SecurityContextHolderFilter.html[`SecurityContextHolderFilter`] class. + * `RememberMeServices.loginSuccess` is invoked. If remember me is not configured, this is a no-op. See the {security-api-url}org/springframework/security/web/authentication/rememberme/package-frame.html[`rememberme`] package.