You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jgrandja
changed the title
Introduce a Secuirty DSL to allow it nest in BeanDefinitionDSL
Introduce a Security DSL to allow it nest in BeanDefinitionDSL
Mar 12, 2020
@hantsy In Spring Security 5.4.0, we added the ability to configure HttpSecurity by exposing a bean, instead of extending WebSecurityConfigurerAdapter (see #8804).
This means you can nest the SecurityFilterChain bean in the BeanDefinitionDsl
I have tried the Spring Security Kotlin DSL feature introduced in Spring Security 5.3.
The example is here.
Currently, I have to define a
WebSecurityConfigurerAdapter
like this.The
RouterFunctionDSL
can be nested inBeanDefinitionDSL
directly.Is it possible to add another DSL to make the security config nested in
BeanDefinitionDSL
, like therouter
config? eg.The text was updated successfully, but these errors were encountered: