Fork me on GitHub

Programming, Internet & more

Author Archives: Christian

CORS with Keycloak and Spring Boot

A quick tip regarding Keycloak, Spring Boot and some kind of JavaScript UI technology. When you’re trying to connect a JavaScript UI like Angular to a backend which is secured by Keycloak you have to be aware of CORS. I’m pretty sure you already know this. However, there is a common pitfall, you have to […]

Posted in programming | 3 Comments

Openkeepass: Android Support

Finally, openkeepass version 0.6.0 is out and its major feature in this version is the Android support. The whole Xml serialization core was rewritten and now uses the Android friendly Simple XML Api. Release Notes of openkeepass v0.6.0 Fixed Fixed an issue that could bring the password of an entry into illegal state. Fixed circular […]

Posted in open-source | Leave a comment

Authentication with Spring Boot, AngularJS and Keycloak

In this tutorial, I want to show you how to combine Keycloak with AngularJS and Spring Boot. The result will be a small application where you will get a frontend written in AngularJS and the big topics regarding authentication like user-registration, password reset, login page etc. are already solved. The backend is implemented with Spring […]

Posted in spring | 17 Comments

Openkeepass: Feature release with write support

Openkeepass is around for a while now and has proved to be a major player when it comes to reading of KeePass files (especially KeePass 2.x). However, since its initial release I’ve received a lot of requests regarding write support of KeePass files. After a lot of work this is finally done and has found […]

Posted in open-source | 2 Comments

How to check for updated dependencies with maven

Regularly updating your dependencies in a project is important because it ensures that you will get all the nice bugfixes that were done in the meantime in some of the libraries you use. However this can be a time-consuming and annoying task. Good news if you’re using maven because there is a nice command which […]

Posted in programming | Leave a comment

Continuous Delivery with Jenkins and Docker

If you’ve ever wondered how to actually build a continuous delivery pipeline for your project this is going to be the ultimative guide. I will tell you how you can build a continuous delivery pipeline from ground up. The pipeline will make heavy use of Jenkins together with Docker to provide a stable platform to […]

Posted in javaee, programming, tutorials | 1 Comment

Speed up development with vagrant

Maybe you know this situation: Coming to a new project often requires to install a lot of stuff. Databases, Web servers, Dependencies and all the other stuff is starting to clutter your workstation. If you switch often between projects or you just want to try out a new technology for some days this could be […]

Posted in programming | Leave a comment

Injecting properties in Java EE applications

In almost any application there are some settings that must be read from somewhere to configure the application. User names or IP addresses are great examples for such settings. To use settings is the standard procedure to make software configurable. There are many possibilities that one can use to achieve this. One example would be […]

Posted in javaee, programming | 1 Comment

IIS Error 500 ExtensionlessUrlHandler

I’ve recently encountered the following error in my IIS after starting a (previously) working ASP .NET application: Handler “ExtensionlessUrlHandler-Integrated-4.0” has a bad module “ManagedPipelineHandler” in its module list (or in German: Der Handler “ExtensionlessUrlHandler-Integrated-4.0” weist das ung├╝ltige Modul “ManagedPipelineHandler” in der Modulliste auf) The error appeared after a fresh reinstall of Windows. After a lot […]

Posted in programming | 1 Comment

C# How to force decimal precision in xml serialization

Recently, I’ve tried to serialize some xml in c# and stumbled accross the problem that I had to force the precision scale of decimal values. By default the XmlSerializer uses the exact value of the underlying decimal value while serializing to xml. That means, if you assign 2 to a decimal value your xml will […]

Posted in c#, programming, tutorials | Leave a comment