Correct deprecated description in docs

Remove deprecated SecurityContextPersistenceFilter from docs.

Closes gh-12690
This commit is contained in:
Qie 2023-02-19 22:43:32 +08:00 committed by Steve Riesenberg
parent 1eff924598
commit 8b2ce79341
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
1 changed files with 3 additions and 2 deletions

View File

@ -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 <<servlet-authentication-authentication>> is set on the <<servlet-authentication-securitycontextholder>>.
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.