Building SaaS style multi-tenant web app with Spring Boot 2 and Spring Security 5 - Part 2

1 · Sunit Katkar · April 11, 2018, 4:10 a.m.
Continuing from part 1In part 1 of this blog post, I shared how you can build a SaaS style multi-tenant web application and how it works.In this part of the blog post, I will continue to show how to set up multi-tenant database access to the tenant databases using Spring JPA and Hibernate. Also how Spring Security is tied into all of this.Multi-Tenancy data access and tenant database selectionIn multi-tenant setup,  Hibernate requires a datasource to be fed so that it can establish a connection/...