Wt & JWt 4.11.0

  • Posted by Matthias
  • Wednesday, October 2, 2024 @ 13:37

(J)Wt 4.11.0 is a major release. That focuses on authentication and WebSockets.

First Wt is now able to support MFA in its authentication system. It is easily enabled with a single call to AuthService::setMfaProvider(). By default an implementation for TOTP is included. This offers a way to enable an additional layer of security for your applications. Instead of remembering a single password, users can be made to enter a short code that changes often, as an additional authentication step. Developers are also able to implement this feature in any way they see fit via the interface AbstractMfaProcess. A couple examples are provided in the source code, and the authentication tutorial.

This is for Wt alone, no for JWt:

If you like using WebSockets, there is good news! Wt was already able to communicate with its server over WebSockets. This was, however, limited to only its communication for updates regarding its framework. Now you are able to use them in whatever custom way you see fit. Developers can set up endpoints (both session-private or public) that listen to incoming requests. The browser (or another client) can then use those endpoints to connect to said resource. A connection has now been established, and messages can be send back and forth.

Here are the links:

Binary builds for Windows are available on the GitHub releases page.

Tags:
1 comment
  • Posted by anonymous
  • 2 weeks ago
Excellent. We have wanted to web sockets in the past and have thought about going to a different provider, but now that they are part of Wt, we can move forward without the extra work of finding someone else.

Contact us for more information
or a personalised quotation