I was following the Vaadin tutorial on how to make a login page (https://vaadin.com/learn/tutorials/java-web-app/login-screen). However, after I install the dependencies for Spring Security, my login page is replaced by a different one which I have no control over. This page uses an auto-generated password and stops me from being able to control and use the rest of my application even after I pass the screen. Whenever it pops up, and I use the generated password, it redirects to a page with a subdirectory /sw.js. Can anybody help with this issue? Thank you in advance!
The dependencies:
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
</dependency>