Secure Legacy Apps with Spring Cloud Gateway

This tutorial shows show you how to secure legacy applications with OAuth 2.0 and Spring Cloud Gateway.

bdemers

One of the biggest challenges of adding OAuth 2.0 support to legacy applications is a lack of support in the underlying framework. Maybe it’s homegrown, or maybe it’s just old? Either way, migrating away from an old form-based login doesn’t need to be so painful. In this post, I’ll walk you through a low-code option using Spring Cloud Gateway and Okta.

Five Tools to Improve Your Java Code

Five great tools to reduce bugs and make your Java code more secure!

bdemers

Writing quality code takes practice. To write better code, you need to know what should improve. Code quality and what makes code easy to read are very subjective; ask five different developers, you will get six different answers. For this post, I’ll avoid most of the subjective and focus on ways to detect real issues and potential bugs.

Watch GraalVM Turn Your Java Into Binaries

Tutorial: Learn how to build native binaries from a Java application with GraalVM's native-image tool.

bdemers

There has been much buzz about GraalVM and what it means for the Java world. GraalVM is a Java distribution from Oracle that adds a bunch of features, most notably a new JIT compiler, polyglot capabilities, an LLVM runtime… and the ability to turn your Java application into a native binary.

The Dangers of Self-Signed Certificates

Self-Signed certificates are free, but not without cost. In this post you'll learn all about the dangers of self-signed certificates.

bdemers

How many times have you started a new job, and the first thing you see on the company intranet is a “Your connection is not private” error message? Maybe you asked around and were directed to a wiki page. Of course, you probably had to click through the security warnings before actually viewing that page. If you are security-minded, this probably bothers you, but because you have a new job to do, you accept the warning and proceed to jump through the hoops of installing the…

How to Build a Maven Plugin

Tutorial: How to build a Maven plugin.

bdemers

Apache Maven is still the most popular build tool in the Java space, thanks to the popularity of its ecosystem of plugins. It’s easy to find an existing plugin to do almost anything your application needs, from ensuring your source files have license headers, to validating binary compatibility between versions. Occasionally though, you need to write a custom plugin to fulfill a requirement in your product.