Hi all
I came across following issue recently. Always first call done to AS (As a
tenant when tenant is not loaded yet) it fails with access denied. The
reason was in authorization handler when we retrieve user realm from carbon
context, its not tenant's realm it's super tenant realm.

When I was debugging further I found that DBDeployer [1] is setting the
wrong user realm to carbon context replacing the correct one set by Carbon
Authentication Util.

Is there a specific reason for this. Can we fix this to set the correct
values ?

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.1/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java

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

Reply via email to