Skip to content

Commit

Permalink
Update Session.java. Fix TicketAuth null authextra (#562)
Browse files Browse the repository at this point in the history
* Update Session.java. Fix TicketAuth null authextra

* ChallengeResponseAuth fix null authextra
  • Loading branch information
andzejsw authored Nov 28, 2024
1 parent 9236159 commit 5f13baa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autobahn/src/main/java/io/crossbar/autobahn/wamp/Session.java
Original file line number Diff line number Diff line change
Expand Up @@ -1299,10 +1299,12 @@ private CompletableFuture<SessionDetails> 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;
Expand Down

0 comments on commit 5f13baa

Please sign in to comment.