Skip to content

Commit 212337f

Browse files
authored
Update to CDS Services 2.0.2 (#238)
1 parent ce2078e commit 212337f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
<!-- DEPENDENCIES VERSION -->
1818
<jdk.version>17</jdk.version>
19-
<cds.services.version>2.0.1</cds.services.version>
20-
<spring.boot.version>3.0.7</spring.boot.version>
19+
<cds.services.version>2.0.2</cds.services.version>
20+
<spring.boot.version>3.0.8</spring.boot.version>
2121
<cloud.sdk.version>4.14.0</cloud.sdk.version>
2222
<xsuaa.version>3.0.1</xsuaa.version>
2323
<cf-java-logging-support.version>3.7.0</cf-java-logging-support.version>
24-
<cds.install-cdsdk.version>7.0.0</cds.install-cdsdk.version>
24+
<cds.install-cdsdk.version>7.0.1</cds.install-cdsdk.version>
2525
</properties>
2626

2727
<modules>

srv/src/main/java/my/bookshop/config/WebSecurityConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public class WebSecurityConfig {
1818

1919
@Bean
2020
public SecurityFilterChain configure(HttpSecurity http) throws Exception {
21-
return http.securityMatchers().requestMatchers(antMatcher("/actuator/health"), antMatcher("/swagger/**")) //
22-
.and().csrf().disable().authorizeHttpRequests().anyRequest().permitAll().and()
21+
return http.securityMatchers(s -> s.requestMatchers(antMatcher("/actuator/health"), antMatcher("/swagger/**"))) //
22+
.csrf(c -> c.disable()).authorizeHttpRequests(a -> a.anyRequest().permitAll())
2323
.build();
2424
}
2525
}

0 commit comments

Comments
 (0)