Skip to content

Commit 63cf954

Browse files
author
Steve Riesenberg
committed
Document SecurityContextRepository default
Closes gh-12049
1 parent 3343476 commit 63cf954

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/modules/ROOT/pages/migration.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ If you are explicitly opting into Spring Security 6's new defaults, the followin
3030

3131
include::partial$servlet/architecture/security-context-explicit.adoc[]
3232

33+
=== Multiple SecurityContextRepository
34+
35+
In Spring Security 5, the default xref:servlet/authentication/persistence.adoc#securitycontextrepository[`SecurityContextRepository`] was `HttpSessionSecurityContextRepository`.
36+
37+
In Spring Security 6, the default `SecurityContextRepository` is `DelegatingSecurityContextRepository`.
38+
If you configured the `SecurityContextRepository` only for the purpose of updating to 6.0, you can remove it completely.
39+
3340
[[requestcache-query-optimization]]
3441
=== Optimize Querying of `RequestCache`
3542

0 commit comments

Comments
 (0)