Re: [Dev] Unexpected values in roles list.

2013-07-23 Thread Venura Kahawala
Hi,

This not fixed yet, will be fixing ASAP.

Regards,
Venura


On Wed, Jul 24, 2013 at 9:09 AM, Ajith Vitharana  wrote:

> Hi Asela/Prabath,
>
> This is not fixed yet. Lots of features and tests are broken due to this
> issue. :(.
>
> Thanks
> Ajith.
>
>
>
> On Tue, Jul 23, 2013 at 12:19 PM, Ajith Vitharana  wrote:
>
>> Hi All,
>>
>> While debugging an issue I found that following code segment returns the
>> following two values.
>> Someone please explain the meaning of *PRIMARY/admin__DN__false~-1234* ?
>>
>>
>> UserRealm realm = userRegistry.getUserRealm();
>> UserStoreManager reader = realm.getUserStoreManager();
>> String[] roles = reader.getRoleListOfUser(userRegistry.
>> getUserName());
>>
>> This roles list contains following values,
>>
>> 1) Internal/everyone
>> 2) *PRIMARY/admin__DN__false~-1234*
>> *
>> *
>> Thanks
>> Ajith
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  aji...@wso2.com
>> Mobile : +94772217350
>>
>>
>
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94772217350
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Senior Software Engineer

Mobile: +94 71 82 300 20
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unexpected values in roles list.

2013-07-23 Thread Ajith Vitharana
Hi Asela/Prabath,

This is not fixed yet. Lots of features and tests are broken due to this
issue. :(.

Thanks
Ajith.



On Tue, Jul 23, 2013 at 12:19 PM, Ajith Vitharana  wrote:

> Hi All,
>
> While debugging an issue I found that following code segment returns the
> following two values.
> Someone please explain the meaning of *PRIMARY/admin__DN__false~-1234* ?
>
>
> UserRealm realm = userRegistry.getUserRealm();
> UserStoreManager reader = realm.getUserStoreManager();
> String[] roles = reader.getRoleListOfUser(userRegistry.getUserName
> ());
>
> This roles list contains following values,
>
> 1) Internal/everyone
> 2) *PRIMARY/admin__DN__false~-1234*
> *
> *
> Thanks
> Ajith
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94772217350
>
>



-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unexpected values in roles list.

2013-07-23 Thread Ajith Vitharana
On Tue, Jul 23, 2013 at 12:30 PM, Asela Pathberiya  wrote:

>
> Thanks for reporting... This is a mistake...  AFAIK, this is already
> fixed... If not,  will check and remove them.
>

Thanks for the info. This is a latest build.

-Ajith.


>
> Thanks,
> Asela.
>
> On Tue, Jul 23, 2013 at 12:19 PM, Ajith Vitharana  wrote:
>
>> Hi All,
>>
>> While debugging an issue I found that following code segment returns the
>> following two values.
>> Someone please explain the meaning of *PRIMARY/admin__DN__false~-1234* ?
>>
>>
>> UserRealm realm = userRegistry.getUserRealm();
>> UserStoreManager reader = realm.getUserStoreManager();
>> String[] roles = reader.getRoleListOfUser(userRegistry.
>> getUserName());
>>
>> This roles list contains following values,
>>
>> 1) Internal/everyone
>> 2) *PRIMARY/admin__DN__false~-1234*
>> *
>> *
>> Thanks
>> Ajith
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  aji...@wso2.com
>> Mobile : +94772217350
>>
>>
>
>
>
> --
> Thanks & Regards,
> Asela
>
> Mobile : +94 777 625 933
>



-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unexpected values in roles list.

2013-07-23 Thread Asela Pathberiya
Thanks for reporting... This is a mistake...  AFAIK, this is already
fixed... If not,  will check and remove them.

Thanks,
Asela.
On Tue, Jul 23, 2013 at 12:19 PM, Ajith Vitharana  wrote:

> Hi All,
>
> While debugging an issue I found that following code segment returns the
> following two values.
> Someone please explain the meaning of *PRIMARY/admin__DN__false~-1234* ?
>
>
> UserRealm realm = userRegistry.getUserRealm();
> UserStoreManager reader = realm.getUserStoreManager();
> String[] roles = reader.getRoleListOfUser(userRegistry.getUserName
> ());
>
> This roles list contains following values,
>
> 1) Internal/everyone
> 2) *PRIMARY/admin__DN__false~-1234*
> *
> *
> Thanks
> Ajith
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94772217350
>
>



-- 
Thanks & Regards,
Asela

Mobile : +94 777 625 933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev