上QQ阅读APP看书,第一时间看更新
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.