Sorry for the false alarm about second point. We are calling the right
service, Just the code contained the naming of wrong action. But its
calling the right action. Thought the first point is valid. Any ideas?

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Jun 5, 2015 at 2:55 PM, Danushka Fernando <[email protected]>
wrote:

> 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