Hamcrest Text Matchers 1. Overview In this tutorial, we’ll explore Hamcrest Text Matchers. We discussed Hamcrest Matchers in general before in testing with Hamcrest, in this tutorial we’ll focus on Text Matchers only. 2. Maven Configuration First, we need to add the following dependency to our pom.xml: <dependency> <groupId>org.hamcrest</groupId> <artifactId>java-hamcrest</artifactId>… Continue Reading hamcrest-text-matchers

Introduction to SLF4J 1. Overview Simple Logging Facade for Java (abbreviated SLF4J) – acts as a facade for different logging frameworks (e.g. java.util.logging, logback, Log4j). It offers a generic API making the logging independent of the actual implementation. This allows for different logging frameworks to coexist. It also helps migrate… Continue Reading slf4j-with-log4j2-logback

New Password Storage In Spring Security 5 1. Introduction With the latest Spring Security release, a lot has changed. One of those changes is how we can handle password encoding in our applications. In this tutorial, we’re going to explore some of these changes. Later, we’ll see how to configure… Continue Reading spring-security-5-password-storage