Archive: August 2022

Automatically migrate WebSecurityConfigurerAdapter

Posted on by  
Tim te Beek

If you’ve been working with Spring Security for a while, it should come as no surprise that from time to time, they deprecate the old, and guide you towards the new. In 5.7.x such a change involves the often used WebSecurityConfigurerAdapter.

In Spring Security 5.7.0-M2 we deprecated the WebSecurityConfigurerAdapter, as we encourage users to move towards a component-based security configuration.

And while there are blog posts, release notes, and even an instruction video to highlight the required changes, in the end you will have to change your code. But what all those sources so far have failed to cover, is that there’s now also an easier way to migrate your code, using OpenRewrite.

Continue reading →

5 ways to improve your cyber security now - Software Developer edition

Posted on by  
Niels van Nieuwenburg

You probably hear it a lot: you should make your code secure! But…​ how? When it comes to security, there are a plethora of measures you can implement. Where do you start, and how do you know you’re doing the right thing?

Many blogs trying to help you in this area use a lot of jargon, making it hard for others to read and act on it. I’m here to help you with this, starting with a small explanation of what we’re trying to achieve with cyber security. This blog post is written for Software Developers specifically, no matter which language you program in or whether you’re a front-ender, back-ender, or full-stack.

Continue reading →

shadow-left