Hi Anjana,

We are hoping to freeze for RC tomorrow. So we need a fix ASAP.

thanks,
dimuthu


On Tue, Jun 3, 2014 at 6:05 PM, Anjana Fernando <[email protected]> wrote:

> Hi,
>
> Yeah, seems like a bug, I also can't remember why we are doing this.
> @Prabath, do you remember why we have done such a change there? .. and
> @Chanika, please look into this, and fix for the next release.
>
> Cheers,
> Anjana.
>
>
> On Tue, Jun 3, 2014 at 5:58 PM, Danushka Fernando <[email protected]>
> wrote:
>
>> 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
>>
>
>
>
> --
> *Anjana Fernando*
> Senior Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>



-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: [email protected]
Mobile : 0773661935

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to