summaryrefslogtreecommitdiff
path: root/sw-server/src
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2023-04-30 02:00:26 +0200
committerJoffrey Bion <joffrey.bion@gmail.com>2023-04-30 02:37:21 +0200
commit068d1b5dedadfe49f885ea11ec7203b33ddf4925 (patch)
tree8aa9bbcc52a998fa57e1d6d54b804c73e05ff20b /sw-server/src
parentUpgrade Kotlin to 1.8.21 (diff)
downloadseven-wonders-068d1b5dedadfe49f885ea11ec7203b33ddf4925.tar.gz
seven-wonders-068d1b5dedadfe49f885ea11ec7203b33ddf4925.tar.bz2
seven-wonders-068d1b5dedadfe49f885ea11ec7203b33ddf4925.zip
Upgrade to Spring Boot 3.0
Diffstat (limited to 'sw-server/src')
-rw-r--r--sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/AnonymousUsersHandshakeHandler.kt2
1 files changed, 1 insertions, 1 deletions
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<String, Any>,
- ): Principal? {
+ ): Principal {
var p = super.determineUser(request, wsHandler, attributes)
if (p == null) {
p = UsernamePasswordAuthenticationToken("player" + playerId++, null)
bgstack15