flow icon indicating copy to clipboard operation
flow copied to clipboard

Support for the component-based security configuration

Open mygordienko opened this issue 3 years ago • 3 comments

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.

mygordienko avatar Jun 06 '22 08:06 mygordienko

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.

DManstrator avatar Jul 19 '22 10:07 DManstrator

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)

RainerGanss avatar Jul 29 '22 07:07 RainerGanss

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.

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?

MarcinVaadin avatar Aug 09 '22 11:08 MarcinVaadin

This ticket/PR has been released with Vaadin 23.2.0.beta2 and is also targeting the upcoming stable 23.2.0 version.

vaadin-bot avatar Aug 18 '22 08:08 vaadin-bot