mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-05 08:49:15 +00:00
Polish code to fix warnings
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ public final class CloudFoundryActuatorAutoConfiguration {
|
||||
@Bean
|
||||
@Order(FILTER_CHAIN_ORDER)
|
||||
SecurityFilterChain cloudFoundrySecurityFilterChain(HttpSecurity http,
|
||||
CloudFoundryWebEndpointServletHandlerMapping handlerMapping) throws Exception {
|
||||
CloudFoundryWebEndpointServletHandlerMapping handlerMapping) {
|
||||
RequestMatcher cloudFoundryRequest = getRequestMatcher(handlerMapping);
|
||||
http.csrf((csrf) -> csrf.ignoringRequestMatchers(cloudFoundryRequest));
|
||||
http.securityMatchers((matches) -> matches.requestMatchers(cloudFoundryRequest))
|
||||
|
||||
Reference in New Issue
Block a user