Setup Keycloak (26) behind Caddy Proxy

Overview Recently, I upgraded keycloak from 17 to 26. The update was swift. Keycloak did all the database migration. However, after the upgrade, the site broke. I set up keycloak behind a Caddy proxy. I hope this helps saving you some hours. Caddy’s config Keycloak’s config You may struggled with issues with mixed content, the … Read more

CISSP 1: Security Governance Through Principles and Policies Concepts and FAQ

Concepts Here are the important concepts in the first section of CISSP Abstraction: Simplifying security by grouping similar elements into classes or roles and assigning security controls collectively. Accounting (Accountability): Review log files to check for compliance and violations to hold subjects responsible for their actions, especially policy violations. Acquisition: Obtaining hardware, software, and services, … Read more

Better Swing Layout With MigLayout

Overview If you are working on swing desktop app, MigLayout is a great library to help you layout your app quickly. MiGLayout revolves around flexibility and simplicity while offering powerful features for fine-grained layout control. Here are the main concepts to understand when working with MiGLayout. 1. Components and Cells 2. Layout Constraints Here are … Read more

Pattern Matching In Java

Overview Pattern matching is one of the most powerful features introduced in the recent versions of java. It helps us remove the redundant type casting. In this post, I will cover the key aspects of pattern matching with examples. Let’s get started. What is pattern matching? When talking about pattern matching in java, the first … Read more