#1 2015-07-16 00:13:35

ericgarcia
Member
Registered: 2015-06-11
Posts: 9

Override AuthUser and AuthGroup

hello,

I am newbie in Mormot and every day discover, the power of this framework. Today I d like to do some authentification,
but i have my own tables for Group and User already created in Oracle. These tables are maintained thru my own application.

The Idea  is to be able at the init or starting of the server , to download an image of my securities in the mpormot tables
and then use the authentification thru TSQLRestServerFullMemory.
i don't know if it s the right approach.
some samples could be helpfull

thanks

Offline

#2 2015-07-16 15:11:07

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,272
Website

Re: Override AuthUser and AuthGroup

Or just make a distinction between mORMot security and your application-level security.

Use simple mORMot users, corresponding to the client types connected (user/admin).
Use it only for connection, with some fixed values (defined e.g. in client setting files).
Then define interface-based services for your applications, using a dedicated security service wiht your existing Oracle-based information.

Offline

Board footer

Powered by FluxBB