I have a requirement where I have a controller which just needs Basic Authentication, while other controllers need to authenticate via Bearer token. Is it possible in a single module of the Spring Boot application to implement both securities? If yes how should I define it in WebSecurityConfigurerAdapter, filters, and so on?