Skip to content

Commit 2b3d913

Browse files
committed
Update to Spring Security 7.0.0-M1
Closes gh-3442
1 parent 1dba159 commit 2b3d913

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ org-mongodb-mongodb-driver-reactivestreams = { module = "org.mongodb:mongodb-dri
4040
org-mongodb-mongodb-driver-sync = { module = "org.mongodb:mongodb-driver-sync", version.ref = "org-mongodb" }
4141
org-postgresql = "org.postgresql:postgresql:42.7.7"
4242
org-springframework-data-spring-data-bom = "org.springframework.data:spring-data-bom:2025.1.0-SNAPSHOT"
43-
org-springframework-security-spring-security-bom = "org.springframework.security:spring-security-bom:7.0.0-SNAPSHOT"
43+
org-springframework-security-spring-security-bom = "org.springframework.security:spring-security-bom:7.0.0-M1"
4444
org-springframework-spring-framework-bom = "org.springframework:spring-framework-bom:7.0.0-M7"
4545
org-testcontainers-testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version = "1.20.6" }
4646
io-spring-security-release-plugin = "io.spring.gradle:spring-security-release-plugin:1.0.6"

spring-session-samples/spring-session-sample-boot-websocket/src/main/java/sample/config/WebSocketSecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class WebSocketSecurityConfig {
3535
AuthorizationManager<Message<?>> messageAuthorizationManager(MessageMatcherDelegatingAuthorizationManager.Builder messages) {
3636
messages
3737
.simpMessageDestMatchers("/queue/**", "/topic/**").denyAll()
38-
.simpSubscribeDestMatchers("/queue/**/*-user*", "/topic/**/*-user*").denyAll()
38+
.simpSubscribeDestMatchers("/queue/*-user*", "/topic/*-user*").denyAll()
3939
.anyMessage().authenticated();
4040
return messages.build();
4141
}

0 commit comments

Comments
 (0)