Category: Spring

Stories about project management and coding

Spring Security LDAP with Microsoft Active Directory

The following describes how to easily configure Spring Security to use Microsoft Active Directory as the user repository. This guide is based on the official Spring guide for Securing a Web Application and shall focus on the LDAP / Microsoft Active Directory part. It uses the default Spring Boot configuration for most things, including the…
Read more

Continuous Integration using Gitlab CI with Docker

Gitlab.com Most people I know prefer Github or a private server for hosting their private git repositories. Nothing wrong with that, everyone has their own workflow. I’ve been using Gitlab for a few years now, privately hosted. A few months ago, my Gitlab server had some problems after upgrading to a newer version. I needed…
Read more

Spring Boot Applications in Docker

As a beginner with Spring Boot, “dockerizing” a new application can look like a quite complicated task. In fact it is quite simple, using the right tools. Dockerizing means nothing more than the putting your existing app, like a REST backend based on Spring Boot, into a docker image. This post should not just be…
Read more

Snack Vending over TCP – or how Spring Integration saved the day

Recently I got a new project, create a REST backend to process sales data from snack vending machines. Set up Spring Boot, create some controller, database connector, little admin web interface, Spring Security, done. Sound easy enough, right? Wrong…at least in this story.

Spring Profiles – why you’ll love them

In the good old days, when you were writing your first few lines of code (and probably used PHP) you probably hardcoded any configuration strings right in to the code. After you wrote your first working version you might wanted to deploy that ugly bastard onto some server, but you had to change any config…
Read more