Hi all; We are facing a serious issue with a public space which is available for all tenants. What we try to achieve is; At the store end, when an user hits the store url( https://localhost:9443/store), we try to show all available publicAPIs, which are belongs to all tenants. Currently, we don't have publicSpace , which is common to all tenants(including supertenant), concept. We have supertenant/tenant concept only.
To show all public APIs, we do an iteration for all tenants (it is a perf issue) to pick the publicAPIs. At that time, we call registry[1] with "Anonymous User" (because we are not logged in to the system) with tenantID. [1] registry = ServiceReferenceHolder.getInstance(). getRegistryServ ice().getGovernanceUserRegistry(CarbonConstants.REGISTRY_ANONNYMOUS_USERNAME, tenantID); This "Anonymous User" have some permissions, which are not enough to handle the datasource lookup. According to Anjana, we need supertenant's permission to access the datasource. Is it right , if we fix the datasource access model, to allow others also to do lookup? We might need to apply the public space concept to our global APIstore + MT APIStore. How should we fix this issue? p.s: the actual issue what we are facing currently is discussed in the dev@Subject; *javax.naming.NameNotFoundException: Name [jdbc/WSO2UM1] is not bound in this Context. Unable to find [jdbc]* Thanks, -- -Ratha mobile: (+94)755906608
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
