27 Ekim 2020 Salı

SpringSecurit SecurityContextPersistenceFilter Sınıfı

Giriş
Açıklaması şöyle
This filter is used to store the security context of a user across multiple requests.
Açıklaması şöyle
From the API documentation: “Populates the SecurityContextHolder with information obtained from the configured SecurityContextRepository prior to the request and stores it back in the repository once the request has completed and clearing the context holder.”

The SecurityContext mainly represents the persisted session. It contains an Authentication which in the context of a web application encapsulates the information of the authenticated user. The default implementation of the SecurityContextRepository stores the SecurityContext in the HttpSession.

Hiç yorum yok:

Yorum Gönder