mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Document SecurityContextRepository default
Closes gh-12049
This commit is contained in:
parent
3343476dd3
commit
63cf954e07
@ -30,6 +30,13 @@ If you are explicitly opting into Spring Security 6's new defaults, the followin
|
|||||||
|
|
||||||
include::partial$servlet/architecture/security-context-explicit.adoc[]
|
include::partial$servlet/architecture/security-context-explicit.adoc[]
|
||||||
|
|
||||||
|
=== Multiple SecurityContextRepository
|
||||||
|
|
||||||
|
In Spring Security 5, the default xref:servlet/authentication/persistence.adoc#securitycontextrepository[`SecurityContextRepository`] was `HttpSessionSecurityContextRepository`.
|
||||||
|
|
||||||
|
In Spring Security 6, the default `SecurityContextRepository` is `DelegatingSecurityContextRepository`.
|
||||||
|
If you configured the `SecurityContextRepository` only for the purpose of updating to 6.0, you can remove it completely.
|
||||||
|
|
||||||
[[requestcache-query-optimization]]
|
[[requestcache-query-optimization]]
|
||||||
=== Optimize Querying of `RequestCache`
|
=== Optimize Querying of `RequestCache`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user