flow
flow copied to clipboard
Support for the component-based security configuration
As described here WebSecurityConfigurerAdapter is now depricated in favor of a new approach. Unfortunately, Vaadin still relies on VaadinWebSecurityConfigurerAdapter and we are not allowed to use them both at the same time.
Currently I face the issue that I can't use Spring Boot 2.7.0+ with the latest VAADIN version (23.1.3). When using Spring Boot 2.7.0+, the page reloads automatically every now and then and I suspect that it has to do with that.
The problem I face is also occurring in two different projects. And in both projects updating Spring Boot to 2.7.0+ caused that problem to appear. Also in both Projects, we are using the VaadinWebSecurityConfigurerAdapter and the WebSecurityConfigurerAdapter from Spring. When using Spring Boot 2.6.8, the problem doesn't occurr.
This is a problem for us since we get weird reloads if we use the newest vaadin with the newest spring boot version (2.7.1)
Currently I face the issue that I can't use Spring Boot 2.7.0+ with the latest VAADIN version (23.1.3). When using Spring Boot 2.7.0+, the page reloads automatically every now and then and I suspect that it has to do with that.
The problem I face is also occurring in two different projects. And in both projects updating Spring Boot to 2.7.0+ caused that problem to appear. Also in both Projects, we are using the
VaadinWebSecurityConfigurerAdapterand theWebSecurityConfigurerAdapterfrom Spring. When using Spring Boot 2.6.8, the problem doesn't occurr.
I've just run bakery spring starter (https://github.com/vaadin/bakery-app-starter-flow-spring) with spring-boot 2.7.1 and Vaadin 23.1.4 without any issues. Why you assume it's caused by SecurityConfigurer? Did you perform any debugging?
This ticket/PR has been released with Vaadin 23.2.0.beta2 and is also targeting the upcoming stable 23.2.0 version.