Re: [Architecture] Cloud Tenant deletion caching issue

2019-02-21 Thread Pushpalanka Jayawardhana
Hi All, On Wed, 10 Sep 2014 at 21:13, Godwin Amila Shrimal wrote: > Hi, > > As per the discussion had with Azeez offline please see below the solution > agreed. > > 1. Add a new overload method to *TenantManager *as *void deleteTenant(int > tenantId, boolean removeFromPersistentStorage) throws U

Re: [Architecture] Basic Authentication for APIM Gateway

2019-02-21 Thread Nuwan Dias
Yes, if we can maintain the resources and their respective scopes at the synapse definition, we can avoid doing another call to KM (and the DB) at the point of token validation. Also Chamod I guess we will have to come up with a design of how to keep those information in the synapse XML. On Thu,

Re: [Architecture] Basic Authentication for APIM Gateway

2019-02-21 Thread Chamod Samarajeewa
Hi all, We have currently used the AuthenticationAdmin service to authenticate a user given the username and password(Basic Authentication). The next step is to validate whether the scopes bound to a resource are matched with the user roles. In this case, we might have to access the KeyManager sev