Spring Security project. It's a login form with 3 different users stored in an in-memory database. In this form, you can see the usage of formLogin(), rememberMe() and logout().
Spring Security is a framework that provides authentication, authorization, and protection against common attacks. With first class support for securing both imperative and reactive applications, it is the de-facto standard for securing Spring-based applications.