Designing Authentication and Authorization for a Multi-Tenant Application with Keycloak

Keycloak is awesome and I've been a big fan of Keycloak for some time now. In this post, I'll share my thoughts on the decisions I've had to make when designing a multi-tenant application with Keycloak as the IAM server. I must give a heads up on the fact that the latest version of Keycloak … Continue reading Designing Authentication and Authorization for a Multi-Tenant Application with Keycloak

How to use Hibernate Filters coupled with Spring Aspects for Data Isolation

Designing a multi-tenant system is fun as long as you get the data isolation done right. If not it could be painful. 😀 In a previous post, I explained how we utilised Row Level Security to enforce data isolation in one of the multi-tenant solutions that I worked with in the past. While Row Level … Continue reading How to use Hibernate Filters coupled with Spring Aspects for Data Isolation

Multi-Tenant Data Isolation & Row Level Security

Over the past 1 and a half years, I was involved in designing and developing a multi-tenant Treasury Management system. In this article, I will share our approaches to the data isolation aspect of our multi-tenant solution and the learnings from it. Background & problem regarding Data isolation Before going into the problem which I … Continue reading Multi-Tenant Data Isolation & Row Level Security