Hi All
While going through first login call I found a webservice call from
jaggery_acs.jag to TenantManagementService (action - getUsersofTenant) of
AppFactory itself.

Found two issues of this.

1. Since we are calling a service created by AF we could call it in OSGI
manner rather than calling it in webservice manner.
2. I realized in above service call we are retrieving all roles of the
tenant and loop through them and get all users of each role and loop
through the users and get claims of each user and sent it. In the receiving
end though we are only getting one user's info. I am guessing this will
cause whole lot of LDAP calls when there are multiple users in the tenant.

So I am going to create new service call which will return one user's info.
And thought of removing above mentioned method from the service too since
this method could be performance degradable point. And I will call this in
an OSGI manner from the jaggery application. WDYT?

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to