From 5f13baa3063c46090f89d8551a388c35e8df0a2c Mon Sep 17 00:00:00 2001 From: andzejsw Date: Thu, 28 Nov 2024 07:15:51 +0200 Subject: [PATCH] Update Session.java. Fix TicketAuth null authextra (#562) * Update Session.java. Fix TicketAuth null authextra * ChallengeResponseAuth fix null authextra --- autobahn/src/main/java/io/crossbar/autobahn/wamp/Session.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autobahn/src/main/java/io/crossbar/autobahn/wamp/Session.java b/autobahn/src/main/java/io/crossbar/autobahn/wamp/Session.java index 2c4f348f..9d259a34 100644 --- a/autobahn/src/main/java/io/crossbar/autobahn/wamp/Session.java +++ b/autobahn/src/main/java/io/crossbar/autobahn/wamp/Session.java @@ -1299,10 +1299,12 @@ private CompletableFuture reallyJoin( if (authenticator.getAuthMethod().equals(TicketAuth.authmethod)) { TicketAuth auth = (TicketAuth) authenticator; authID = auth.authid; + authextra = auth.authextra; } else if (authenticator.getAuthMethod().equals(ChallengeResponseAuth.authmethod)) { ChallengeResponseAuth auth = (ChallengeResponseAuth) authenticator; authID = auth.authid; authrole = auth.authrole; + authextra = auth.authextra; } else if (authenticator.getAuthMethod().equals(CryptosignAuth.authmethod)) { CryptosignAuth auth = (CryptosignAuth) authenticator; authID = auth.authid;