Identity Management, One-Time-Passwords and Two-Factor-Auth with Spring Boot and Keycloak

Communicating with identity and access management systems is a common task for many web-applications exposing secured resources. Keycloak is an open source software that provides not also such authorization services but also offers a lot of features from Single-Sign-On, Identity-Brokering, Social-Login, User-Federation, multiple client-adapters up to the administration console or support for protocols like OpenID, SAML, OAuth2, Kerberos and more. I will demonstrate how to integrate a Spring Boot web application with Keycloak and configure an authentication flow that requires a two-factor-authentication with user credentials and also one-time-passwords. ...

November 26, 2017 · 10 min · 1918 words · Micha Kops

Snippet: Integrating the Drools Business Rules Management System in 5 Minutes

Drools is a slim Business Rules Management System (BRMS) solution with different integrations and tools available. In the following short snippet I’d like to demonstrate how to integrate a simple rule engine into an application using this library. Figure 1. Drools Example running in Eclipse IDE Dependencies Using Gradle here we only need to add one dependency for drools-compiler to our project’s build.gradle. In addition, we’re adding a task to execute our application. ...

March 30, 2017 · 3 min · 519 words · Micha Kops