In this post I’ll examine how to implement a simple WebSocket-based notification system built on top of Spring. We’ll use the Stomp protocol over SockJS to communicate with either a JQuery-based client or an Angular application.
A majority of Java developers came to embrace and love Spring’s Inversion of Control (IoC) to inject dependencies. However not all projects are Spring-based! One may want to consider alternatives for taking care of dependency injection… And one of those options is the Guice framework.
At last! It was about time! Allow me to bring a conclusion to our experiments in encryption. Let’s use what we previously learned about working with PGP on Java and JavaScript and make the two exchange PGP messages.
So far in this series of posts we have examined how to handle PGP encryption’s core tasks in Java. We now move to the front end side and examine the incredible power of OpenPGP.js !
In the previous installment we examined how to generate PGP keys using Java. Now that we have those, we can start encrypting! This post examines how to leverage the excellent Bouncy GPG library to make Java PGP encryption as easy as it gets.
Last time we examined whether Efail and SigSpoof were a game breaker or not. Spoiler: it’s not half as bad as it was claimed. Today we will get our hands dirty: we will implement OpenPGP key generation in Java with BouncyCastle’s seminal library.
To complete this series about stateless security, I decided to take a bow and list all the blogs posts and websites I’ve studied to get here. If you’re looking for more information on stateless authentication and JWTs, this might be a good place to start from!
After a small pause, I resume our exploration of stateless RESTful security by asking THE big question everyone should consider when deciding to go stateless: is it worth it?