@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=SecurityProperties.class) @ConditionalOnClass(value={reactor.core.publisher.Flux.class,org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity.class,org.springframework.security.web.server.WebFilterChainProxy.class,org.springframework.web.reactive.config.WebFluxConfigurer.class}) public class ReactiveSecurityAutoConfiguration extends Object
Auto-configuration
for Spring Security in a reactive
application. Switches on @EnableWebFluxSecurity
for a
reactive web application if this annotation has not been added by the user. It
delegates to Spring Security's content-negotiation mechanism for authentication. This
configuration also backs off if a bean of type WebFilterChainProxy
has been
configured in any other way.