- Spring Security(Third Edition)
- Mick Knutson Robert Winch Peter Mularien
- 45字
- 2025-04-04 17:54:28
Logging in new users using SecurityContextHolder
A common requirement is to allow users to create a new account and then automatically log them in to the application. In this section, we'll describe the simplest method for indicating that a user is authenticated, by utilizing SecurityContextHolder.