File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
spring-boot-admin-samples/spring-boot-admin-sample-servlet/src/main/java/de/codecentric/boot/admin Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 3636 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
3737
3838 <!-- used dependencies versions -->
39- <spring-boot .version>3.0.1 </spring-boot .version>
39+ <spring-boot .version>3.0.2 </spring-boot .version>
4040 <spring-cloud .version>2022.0.0</spring-cloud .version>
4141 <wiremock .version>2.35.0</wiremock .version>
4242 <hazelcast-tests .version>5.2.1</hazelcast-tests .version>
Original file line number Diff line number Diff line change @@ -47,12 +47,11 @@ protected SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
4747 http .authorizeHttpRequests ((authorizeRequest ) -> authorizeRequest .anyRequest ().permitAll ());
4848
4949 http .addFilterAfter (new CustomCsrfFilter (), BasicAuthenticationFilter .class )
50- .csrf ((csrf ) -> csrf .csrfTokenRepository (CookieCsrfTokenRepository .withHttpOnlyFalse ())
51- .csrfTokenRequestHandler (new CsrfTokenRequestAttributeHandler ()).ignoringRequestMatchers (
52- new AntPathRequestMatcher (this .adminServer .path ("/instances" ), POST .toString ()),
53- new AntPathRequestMatcher (this .adminServer .path ("/instances/*" ), DELETE .toString ()),
54- new AntPathRequestMatcher (this .adminServer .path ("/actuator/**" ))
55- ));
50+ .csrf ((csrf ) -> csrf .csrfTokenRepository (CookieCsrfTokenRepository .withHttpOnlyFalse ())
51+ .csrfTokenRequestHandler (new CsrfTokenRequestAttributeHandler ()).ignoringRequestMatchers (
52+ new AntPathRequestMatcher (this .adminServer .path ("/instances" ), POST .toString ()),
53+ new AntPathRequestMatcher (this .adminServer .path ("/instances/*" ), DELETE .toString ()),
54+ new AntPathRequestMatcher (this .adminServer .path ("/actuator/**" ))));
5655
5756 return http .build ();
5857
You can’t perform that action at this time.
0 commit comments