Class ReactiveManagementWebSecurityAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.security.reactive.ReactiveManagementWebSecurityAutoConfiguration
@AutoConfiguration(before=ReactiveSecurityAutoConfiguration.class,
after={HealthEndpointAutoConfiguration.class,InfoEndpointAutoConfiguration.class,WebEndpointAutoConfiguration.class,ReactiveOAuth2ClientAutoConfiguration.class,ReactiveOAuth2ResourceServerAutoConfiguration.class})
@ConditionalOnClass({org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity.class,org.springframework.security.web.server.WebFilterChainProxy.class})
@ConditionalOnMissingBean({org.springframework.security.web.server.SecurityWebFilterChain.class,org.springframework.security.web.server.WebFilterChainProxy.class})
@ConditionalOnWebApplication(type=REACTIVE)
public class ReactiveManagementWebSecurityAutoConfiguration
extends Object
Auto-configuration
for Reactive Spring Security when
actuator is on the classpath. Specifically, it permits access to the health endpoint
while securing everything else.- Since:
- 2.1.0
- Author:
- Madhura Bhave
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.server.SecurityWebFilterChain
springSecurityFilterChain
(org.springframework.security.config.web.server.ServerHttpSecurity http, PreFlightRequestHandler handler)
-
Constructor Details
-
ReactiveManagementWebSecurityAutoConfiguration
public ReactiveManagementWebSecurityAutoConfiguration()
-
-
Method Details
-
springSecurityFilterChain
@Bean public org.springframework.security.web.server.SecurityWebFilterChain springSecurityFilterChain(org.springframework.security.config.web.server.ServerHttpSecurity http, PreFlightRequestHandler handler)
-