Fork me on GitHub

Programming, Internet & more

Author Archives: Christian

Java 9 Private Interface Methods

This is another post about a new feature in Java 9. Today, we will talk about interfaces. Private Interface Methods Since Java 8 it is possible to use default methods in interfaces. These methods allowed us to implement functionality directly into an interface method. However, interface methods neededed to use one of the following visibility […]

Posted in java9 | Leave a comment

Java 9 Diamond Operator and anonymous classes

This is another post about a new feature in Java 9. Today, I will show you that you can use the diamond operator along with anonymous classes. Diamond Operator We all know about the Diamond Operator since Java 7. It allows us to leave out the generic type on the right side of an expression. […]

Posted in java9 | Leave a comment

Java 9 Collection Initializer

Finally, after 3 years of waiting Java 9 has reached the world. This major release was delayed several times due to the integration of its famous modularization feature called “Project Jigsaw”. But besides that major feature, Java 9 contains several other minor improvements which make the life of a programmer easier but are not that […]

Posted in java9 | Leave a comment

Authentication with Spring Boot, Angular 2 and Keycloak

Last year, I wrote about how to http://slackspace.de/articles/authentication-with-spring-boot-angularjs-and-keycloak/[integrate AngularJS with Keycloak]. However, in the meantime many things have changed. There are new major versions for every used technology, Angular 2 is final and has continued the successful path of its predecessor AngularJS. Because the concepts of Angular 2 have changed so much, I’ve thought it […]

Posted in spring | 1 Comment

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

Update There is a new version of this tutorial available for Angular 2 and Keycloak. Intro 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 […]

Posted in spring | 18 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