Skip to content

Commit 5ebaa34

Browse files
committed
Add link to store-authentication-manually code example
Add a cross-reference from the Publish AuthenticationManager bean NOTE to the Store Authentication Manually section so beginners can find the complete code example more easily. Closes gh-18899 Signed-off-by: hanweiwei <duzielww@163.com>
1 parent 1455798 commit 5ebaa34

File tree

1 file changed

+1
-0
lines changed
  • docs/modules/ROOT/pages/servlet/authentication/passwords

1 file changed

+1
-0
lines changed

docs/modules/ROOT/pages/servlet/authentication/passwords/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ class LoginController(val authenticationManager: AuthenticationManager) {
318318
====
319319
In this example, it is your responsibility to save the authenticated user in the `SecurityContextRepository` if needed.
320320
For example, if using the `HttpSession` to persist the `SecurityContext` between requests, you can use xref:servlet/authentication/persistence.adoc#httpsecuritycontextrepository[`HttpSessionSecurityContextRepository`].
321+
For a complete code example, see xref:servlet/authentication/session-management.adoc#store-authentication-manually[Store Authentication Manually].
321322
====
322323

323324
[[customize-global-authentication-manager]]

0 commit comments

Comments
 (0)