Hi Dinusha, I think this service should be a admin service and you have to authenticate as the tenant user and invoke it. So if the problem is invoking the admin service as a logged in user, you can use saml token of logged in user(I think you have enabled SSO for AppManager) and invoke admin service at IS node. Another option is to use mutual authenticator instead of saml2 authenticator. But in both cases, user should have the correct permission expected from admin service.
If I understood your requirement wrong, correct me. thank you. On Wed, Aug 20, 2014 at 3:23 PM, Dinusha Senanayaka <[email protected]> wrote: > Hi , > > In AppManager, we have automated the service provider registering > functionality by calling to Admin services underneath. But in the > configuration file we keep only the super tenant credentials. The > requirement is, if tenant user logs into the publisher UI and publish an > application the relevant service provider need to be created in the > corresponding tenant space using the super tenant credentials that we > stored in the config file. But this is not supported with our current > tenant model. Is there any other approach, we can use here to have single > admin credentials in the configuration file and register the service > providers in tenant space ? > > If there is no other option to do this from the IS side, what we could do > from the app-manager side is, create the service provider in the super > tenant space with tenant domain as a prefix in the SP name. And make it as > a saas application. > > But it will be clean in implementation, if we have any mechanism to create > the SP in tenant space. Appreciate any ideas ? > > Regards, > Dinusha. > > > -- > Dinusha Dilrukshi > Senior Software Engineer > WSO2 Inc.: http://wso2.com/ > Mobile: +94725255071 > Blog: http://dinushasblog.blogspot.com/ > -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
