I have created a spring boot + thymeleaf application with spring security for securing the requests. The application should also be providing a rest api to communicate with othe