Documentation and How-Tos

Collection of short documentation and how-tos to several domains I worked on, or I’m interested in.

KeyCloak in Spring Boot

SpringBoot – SAML 2.0 – KeyCloak

There are some examples on the internet to demonstrate how to configure spring-boot version 3+ to use a SAML 2.0 identity provider, but they are using OKTA and not KeyCloak. This is a demo of implementing SAML 2.0 with spring boot using KeyCloak as IDP. It was pretty challenging because of the little changes to be made when using KeyCloak instead of Okta or adfs. Tip Error detection in SAML…

Read more

Using KeyCloak on your local machine

Every project with more than one user must have some authentication and authorization. These days, there is a quite handy and easy to user solution for user management that comes in a project called [KeyCloak](https://www.keycloak.org/ “KeyCloak”). KeyCloak provides all necessary functionality like user registration, sign-in, and sign-in via Google, Facebook, and whatnot, all with support for modern standards like OICD.
Read more

REACT and TypeScript

Absolute Paths in NestJS

In order to import application components via a relative path in a Node.js application, it might be better to use absolute paths. With absolute paths, you can move your components wherever you want, and you can see exactly what an import is all about on the import path. To activate this in a TypeScript project, like all NestJS-Application, you need to add a “path” configuration to the tsconfig.json like this:…

Read more

The minimal react application (with TypeScript)

To create a new React application, enter the following command: npx create-react-app react-app –template typescript A minimal react application contains an index.html page with an element marked with id=”root” and an index.tsx (TypeScript with jsx included) with the following content: // Importing ReactDOM. Needed to render the page.import ReactDOM from “react-dom”;// Build a minimal React-Function Component as a Function// that returns some Contentconst App = () => { return <div>…

Read more

COBOL on HOST (Hercules Emulator)

KICKS-Starter!

…installing a “Transaction Monitor” When I first heard someone talking about COBOL online programs, they always used the term “transaction monitor” and CICS. As a Java developer, I wondered why monitoring a database transaction is so important for developing the 3270-Screens. As I learned now, I couldn’t be more wrong! In “Jurassic Park” a “monitor” is neither a device to show some UI on a screen nor a program that…

Read more

Running HERCULES 4.X Hyperion in a Docker Container

… when two worlds come together Hercules is actively developed under the project Hercules Hyperion, and the current release, 4.5 is available on GitHub. I tried to compile it on my macOS but had some trouble with the software not being available, so I decided to give Docker a chance and carry this cute little Dinosaur. And it was actually relatively easy. (Attention: This approach is only tested on x86…

Read more

Installing and starting HERCULES and MVS

The easy part… installing and starting HERCULES today (2023) really is no problem at all. It can run on any commonly used OS like Windows, macOS, and Linux. I chose my old Raspberry Pi 3B as my mainframe platform. And it does the job quite well for one user. So, how is it going: My first try was running Raspberry Pi OS 64-bit and downloading the tk4-current.zip distribution. You can…

Read more

Running MVS on your own emulated Mainframe or…

… welcome to Jurassic Parc. The world of the Dinosaurs. I’ve been a Java programmer since my very first days as a professional software engineer. Before that, I started programming with BASIC and Assembler on a Commodore +4. During my studies, is programmed C on an ATARI-ST or Solaris Workstations. My first job was in the military domain, where I helped create a RADAR system’s firmware. So, I really never…

Read more
Nach oben scrollen