Closes gh-11720
This commit is contained in:
Johnny Lim
2018-01-23 01:24:16 +09:00
committed by Phillip Webb
parent 55f44dc510
commit 768e7c07e6
16 changed files with 20 additions and 21 deletions

View File

@@ -97,7 +97,7 @@ public class SampleSecureWebFluxCustomSecurityTests {
}
@Bean
SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) {
public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) {
http.authorizeExchange().matchers(EndpointRequest.to("health", "info"))
.permitAll().matchers(EndpointRequest.toAnyEndpoint())
.hasRole("ACTUATOR")