Member-only story
The Method Cannot Decide Whether These Patterns are MVC Patterns or Not: Updating Spring Security, Vaadin and Spring Data
Vaadin is a great frontend application that has the amazing advantage of allowing you to do all your work in plain Java. Similar to other UI frameworks like ReactJS or Flutter, it has a nice collection of preset widgets and client-side scripts, but at the same time allows you to avoid having to switch context from Java to JavaScript/Node.
Vaadin can be easily integrated into Spring MVC or Spring boot meaning that you can quickly form entities in the backend and use them in the front end without too much trouble. Spring data brings even more value as it can help deserialize those entities into a simple api without a whole lot of extra work.
Finally, Spring Security provides an amazing framework to set the authentication and authorization for endpoints, handling much of the headaches that can occur in the process of building a web application. Vaadin Security, a wrapper to allow access to Vaadin pages, helps make appropriate access simply and easy.
That is, at least, until July 2023, when github kindly let me know there was a critical vulnerability in my Spring Security platform. No problem! I will just update to the latest version and that would solve everything right?