Reputation: 848
I'm building an application that should serve multiple tenants and store their very sensitive data. Each tenant has multiple users. My backend stack is built with spring-boot + Hibernate5. I want hibernate to handle multi-tenancy so I have 2 questions for the experts:
Upvotes: 1
Views: 2361
Reputation: 2106
I have implemented a database-per-tenant multitenant web app using Spring Boot 2 and secured user access using Spring Security 5. I am sure you can adapt it to your needs. I have written about how I built it and have also shared the source code. Take a look here.
Upvotes: 0
Reputation: 4445
If I understand you correctly, I would use the following:
Upvotes: 2