Closed ch4mpy closed 2 years ago
Implement spring-boot auto-configuration so that explicitly @Import(ServletSecurityBeans) or @Import(ReactiveSecurityBeans) is not required anymore.
@Import(ServletSecurityBeans)
@Import(ReactiveSecurityBeans)
spring-security-oauth2-webmvc-addons or spring-security-oauth2-webflux-addons being on the classpath should be enough.
spring-security-oauth2-webmvc-addons
spring-security-oauth2-webflux-addons
The new way to declare auto-configuration, as anouced with spring 2.7, should be used
Implement spring-boot auto-configuration so that explicitly
@Import(ServletSecurityBeans)
or@Import(ReactiveSecurityBeans)
is not required anymore.spring-security-oauth2-webmvc-addons
orspring-security-oauth2-webflux-addons
being on the classpath should be enough.The new way to declare auto-configuration, as anouced with spring 2.7, should be used