How to exclude a path from authentication in a spring based reactive application?
问题 In a non reactive spring application I would usually create a configuration class, extend WebSecurityConfigurerAdapter and configure the WebSecurity like such: @Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/pathToIgnore"); } How can I do the equivalent in a reactive application? 回答1: In your security config class which you have annotated with @EnableWebFluxSecurity and @EnableReactiveMethodSecurity , register a bean as follows: @Bean public