Skip to content

Commit 82c86b8

Browse files
Polish session-management.adoc
Remove unresolved anchor Issue gh-12519
1 parent 4f3faa7 commit 82c86b8

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
@@ -90,7 +90,7 @@ The latter is also used when configuring an invalid session URL through the name
9090
[[moving-away-from-sessionmanagementfilter]]
9191
==== Moving Away From `SessionManagementFilter`
9292

93-
In Spring Security 5, the default configuration relies on `SessionManagementFilter` to detect if a user just authenticated and invoke <<_the_sessionauthenticationstrategy,the `SessionAuthenticationStrategy`>>.
93+
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`].
9494
The problem with this is that it means that in a typical setup, the `HttpSession` must be read for every request.
9595

9696
In Spring Security 6, the default is that authentication mechanisms themselves must invoke the `SessionAuthenticationStrategy`.
@@ -161,7 +161,7 @@ In Spring Security 6, if you try to use any of these methods when `requireExplic
161161
[[customizing-where-authentication-is-stored]]
162162
== Customizing Where the Authentication Is Stored
163163

164-
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:
164+
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:
165165

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

0 commit comments

Comments
 (0)