InputStream to String in Kotlin 1. Overview In this brief tutorial, we’ll find out how to read an InputStream into a String. Kotlin provides an easy way to perform the conversion. However, there are still some nuances to consider when working with resources. Plus, we’ll cover special cases, like reading up… Continue Reading kotlin-inputstream-to-string

Using the @Singular Annotation with Lombok Builders 1. Overview The Lombok library provides a great way of simplifying data objects. One of the key features of Project Lombok is the @Builder annotation, which automatically creates Builder classes for creating immutable objects. However, populating collections in our objects can be clumsy… Continue Reading lombok-builder-singular

Multiple Authentication Providers in Spring Security 1. Overview In this quick article, we’re going to focus on using multiple mechanisms to authenticate users in Spring Security. We’ll do that by configuring multiple authentication providers. 2. Authentication Providers An AuthenticationProvider is an abstraction for fetching user information from a specific repository… Continue Reading spring-security-multiple-auth-providers