#1 2014-11-13 17:32:54

theodor_gl
Member
Registered: 2014-09-01
Posts: 3

Authentication on two external databases

Hi ab,

I have a single http server that allows access in two databases dbSecurity (domain=root) and dbData (domain=rootData).
Authentication from dbSecurity is working and I can access the model classes from dbSecurity but I have a problem when I want to remote access a class from dbData model. I receive Error=403 (Forbidden). Is this because I need to authenticate also in dbData server ? I do not want to duplicate the TSQLAuthUser and TSQLAuthGroup tables.

Regards - Teo

Offline

#2 2014-11-13 21:23:05

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

Re: Authentication on two external databases

The TSQLRestClient class which is accessing to the other table should be identified as expected by the remote server.

Offline

#3 2014-11-14 10:02:01

theodor_gl
Member
Registered: 2014-09-01
Posts: 3

Re: Authentication on two external databases

Finally I create two synonyms for authuser and authgroup in dbData and authenticate two times (in dbSecurity and dbData). It's working now.

Last edited by theodor_gl (2014-11-14 10:03:08)

Offline

Board footer

Powered by FluxBB