In this chapter, we will cover the following recipes:
Enabling Spring Security
Authenticating users using the default login page
Authenticating users using a custom login page
Authenticating users using a database
Adding a logout link
Using public folders
Authorizing only users with a specific role to view some pages
Displaying page elements only to authenticated users in views
Using HTTPS with Tomcat