Skip to content

Commit f7866b0

Browse files
committed
Correct deprecated description in docs
Remove deprecated SecurityContextPersistenceFilter from docs. Closes gh-12690
1 parent 625a1cd commit f7866b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/modules/ROOT/pages/servlet/authentication/architecture.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,9 @@ image:{icondir}/number_4.png[] If authentication is successful, then __Success__
248248
* `SessionAuthenticationStrategy` is notified of a new login.
249249
See the {security-api-url}org/springframework/security/web/authentication/session/SessionAuthenticationStrategy.html[`SessionAuthenticationStrategy`] interface.
250250
* The <<servlet-authentication-authentication>> is set on the <<servlet-authentication-securitycontextholder>>.
251-
Later, the `SecurityContextPersistenceFilter` saves the `SecurityContext` to the `HttpSession`.
252-
See the {security-api-url}org/springframework/security/web/context/SecurityContextPersistenceFilter.html[`SecurityContextPersistenceFilter`] class.
251+
Later, if you need to save the `SecurityContext` so that it can be automatically set on future requests, `SecurityContextRepository#saveContext` must be explicitly invoked.
252+
See the {security-api-url}org/springframework/security/web/context/SecurityContextHolderFilter.html[`SecurityContextHolderFilter`] class.
253+
253254
* `RememberMeServices.loginSuccess` is invoked.
254255
If remember me is not configured, this is a no-op.
255256
See the {security-api-url}org/springframework/security/web/authentication/rememberme/package-frame.html[`rememberme`] package.

0 commit comments

Comments
 (0)