From 068d1b5dedadfe49f885ea11ec7203b33ddf4925 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sun, 30 Apr 2023 02:00:26 +0200 Subject: Upgrade to Spring Boot 3.0 --- .../luxons/sevenwonders/server/config/AnonymousUsersHandshakeHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw-server/src/main/kotlin/org') diff --git a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/AnonymousUsersHandshakeHandler.kt b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/AnonymousUsersHandshakeHandler.kt index 06b46d17..a50c5574 100644 --- a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/AnonymousUsersHandshakeHandler.kt +++ b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/AnonymousUsersHandshakeHandler.kt @@ -17,7 +17,7 @@ internal class AnonymousUsersHandshakeHandler : DefaultHandshakeHandler() { request: ServerHttpRequest, wsHandler: WebSocketHandler, attributes: Map, - ): Principal? { + ): Principal { var p = super.determineUser(request, wsHandler, attributes) if (p == null) { p = UsernamePasswordAuthenticationToken("player" + playerId++, null) -- cgit