In my Spring Boot web app I want to integrate Spring Security for authentication. There are the following conditions: