-
Terminally Deprecated ElementsElementDescription
AntPathRequestMatcheris deprecated and marked for removal. This method is deprecated without direct replacement; usePathPatternRequestMatcherinstead.usehttp.with(new VaadinStatelessSecurityConfigurer(), customizer)instead.UseVaadinSecurityConfigurerinstead. It follows the Spring's SecurityConfigurer pattern and we recommend use it to configure Spring Security with Vaadin:
Read more details in Security Configurer documentation.@Configuration @EnableWebSecurity @Import(VaadinAwareSecurityContextHolderStrategyConfiguration.class) public class SecurityConfig { @Bean SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { return http.with(VaadinSecurityConfigurer.vaadin(), configurer -> {}).build(); } }AntPathRequestMatcher is deprecated and will be removed, useVaadinWebSecurity.pathMatchers(String...)instead.AntPathRequestMatcher is deprecated and will be removed, useVaadinWebSecurity.routePathMatchers(String...)instead.
-
Deprecated ClassesClassDescriptionUse
VaadinSecurityConfigurerinstead. It follows the Spring's SecurityConfigurer pattern and we recommend use it to configure Spring Security with Vaadin:
Read more details in Security Configurer documentation.@Configuration @EnableWebSecurity @Import(VaadinAwareSecurityContextHolderStrategyConfiguration.class) public class SecurityConfig { @Bean SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { return http.with(VaadinSecurityConfigurer.vaadin(), configurer -> {}).build(); } }
-
Deprecated MethodsMethodDescription
AntPathRequestMatcheris deprecated and marked for removal. This method is deprecated without direct replacement; usePathPatternRequestMatcherinstead.AntPathRequestMatcheris deprecated and marked for removal. This method is deprecated without direct replacement; usePathPatternRequestMatcherinstead.usehttp.with(new VaadinStatelessSecurityConfigurer(), customizer)instead.AntPathRequestMatcher is deprecated and will be removed, useVaadinWebSecurity.pathMatchers(String...)instead.AntPathRequestMatcher is deprecated and will be removed, useVaadinWebSecurity.routePathMatchers(String...)instead.
AntPathRequestMatcheris deprecated and marked for removal. This method is deprecated without direct replacement; usePathPatternRequestMatcherinstead.