@Configuration @ConditionalOnClass(value={org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity.class,org.springframework.security.web.server.WebFilterChainProxy.class}) @ConditionalOnMissingBean(value={org.springframework.security.web.server.SecurityWebFilterChain.class,org.springframework.security.web.server.WebFilterChainProxy.class}) @ConditionalOnWebApplication(type=REACTIVE) @AutoConfigureBefore(value=ReactiveSecurityAutoConfiguration.class) @AutoConfigureAfter(value={HealthEndpointAutoConfiguration.class,InfoEndpointAutoConfiguration.class,WebEndpointAutoConfiguration.class,ReactiveOAuth2ClientAutoConfiguration.class,ReactiveOAuth2ResourceServerAutoConfiguration.class}) public class ReactiveManagementWebSecurityAutoConfiguration extends Object
Auto-configuration
for Reactive Spring Security when
actuator is on the classpath. Specifically, it permits access to the health and info
endpoints while securing everything else.Constructor and Description |
---|
ReactiveManagementWebSecurityAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
SecurityWebFilterChain |
springSecurityFilterChain(ServerHttpSecurity http) |
public ReactiveManagementWebSecurityAutoConfiguration()
@Bean public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.