Skip to content

Commit 5ccf414

Browse files
Merge branch '5.8.x' into 6.0.x
2 parents e59f71f + 82c86b8 commit 5ccf414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/servlet/authentication/session-management.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The latter is also used when configuring an invalid session URL through the name
4848
[[moving-away-from-sessionmanagementfilter]]
4949
==== Moving Away From `SessionManagementFilter`
5050

51-
In Spring Security 5, the default configuration relies on `SessionManagementFilter` to detect if a user just authenticated and invoke <<_the_sessionauthenticationstrategy,the `SessionAuthenticationStrategy`>>.
51+
In Spring Security 5, the default configuration relies on `SessionManagementFilter` to detect if a user just authenticated and invoke {security-api-url}org/springframework/security/web/authentication/session/SessionAuthenticationStrategy.html[the `SessionAuthenticationStrategy`].
5252
The problem with this is that it means that in a typical setup, the `HttpSession` must be read for every request.
5353

5454
In Spring Security 6, the default is that authentication mechanisms themselves must invoke the `SessionAuthenticationStrategy`.
@@ -77,7 +77,7 @@ If you try to use any of these methods, an exception will be thrown.
7777
[[customizing-where-authentication-is-stored]]
7878
== Customizing Where the Authentication Is Stored
7979

80-
By default, Spring Security stores the security context for you in the HTTP session (link to earlier description). However, here are several reasons you may want to customize that:
80+
By default, Spring Security stores the security context for you in the HTTP session. However, here are several reasons you may want to customize that:
8181

8282
* You may want call individual setters on the `HttpSessionSecurityContextRepository` instance
8383
* You may want to store the security context in a cache or database to enable horizontal scaling

0 commit comments

Comments
 (0)