I want to migrate a legacy database that is on top of a set of views in Oracle.
Part of the security is now based on the database user login. Is this also possible in the Cuba-framework?
So can I use the user/password to login to the database also?
Unfortunately you cannot use user’s login/password to connect to the database in a CUBA application, because all connections are interchangeable and stored in a common pool.
Would it be possible to use de db-per-tenant solution? Each tenant/user has it’s own database connection used with it’s own user credentials? Then each user is logged in with the database user/password and then the legacy stuff based on user-id can still work correctly.