Class ReactiveSecurityAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration

@AutoConfiguration @EnableConfigurationProperties(SecurityProperties.class) @ConditionalOnClass({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.
Since:
2.0.0
Author:
Madhura Bhave
  • Constructor Details

    • ReactiveSecurityAutoConfiguration

      public ReactiveSecurityAutoConfiguration()