My task is to develop ui5 / xsjs application on SAP HANA database. It must be able to be used by 50000+ users with different roles.
I have full access to the database, so
- i want to use the most database capabilities like to store users' accounts data in standart tables, role-based access to
procedures/views/tables and execute input data validation on HANA side
- i definitely don't want to reinvent the wheels like a sessions wheel or database access checker, so there's next questions:
1) is there any feature to make $.db or $.hdb connections dynamical without using any static config files, but with usernames
and passwords as variables? I want to make a database account and an application account unified
2) if there isn't such functionality, is there some tools prepared to work with sessions, at least to associate current non-technical
user with a row in database, or i have to manually maintain some sessions tables and recognize user with something like ip-adress + user-agent combination on each http query?