Ketan
Ketan

Reputation: 3322

DISCRIMINATOR based Multi-Tenancy with Spring Data JPA+Hibernate

I want to implement DISCRIMINATOR based Multi-Tenancy solution for Shared Schema Based Multi-Tenancy Model-common database schema for all tenants.

Technology stack

My questions are

Upvotes: 9

Views: 4293

Answers (1)

Hakuna Matata
Hakuna Matata

Reputation: 761

Using hibernate filters you can achieve below items in our application,

  1. Multi-tenancy,
  2. Authorisation
  3. Authentication
  4. Row level authorisation

In our application we applied this and got great results and applied the same stuff to other web based products as well. For your reference go through the below link and you will get some idea on the above stuffs. http://www.jroller.com/RickHigh/entry/using_spring_aop_and_hibernate

Upvotes: 2

Related Questions