4 Replies Latest reply on Aug 17, 2015 6:44 PM by Szaraz Fika

    Embedded Teiid authorization (dynamic mode)

    Szaraz Fika Newbie

      Hi,

       

      Previously, I got the right answer about how to create a custom authentication mechanism inside a dynamic approach, thanks.

       

      For authorization, I understand we can use the database privileges and it will work.

      But is there a way we can get the SQL statement from the call (inside Teiid)? and then execute a custom authorization algorithm inside Teiid just before calling the database backend?

      Should we do it inside a custom SecurityHelper?

      (Info: we have a very dynamic mechanism inside our product that manages data virtualized layers quite dynamically (for each user) and we are just wondering whether we can just avoid unnecessary calls to our database inside Teiid).

       

      Thanks in advance,