Skip to content

Commit ac4b924

Browse files
committed
spring-boot.version 3.0.2
1 parent d7533de commit ac4b924

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
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>

spring-boot-admin-samples/spring-boot-admin-sample-servlet/src/main/java/de/codecentric/boot/admin/SecurityPermitAllConfig.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)