Hi Raj,

On Fri, Jun 17, 2016 at 1:07 AM, Rajkumar Rajaratnam <rajkum...@wso2.com>
wrote:

> Hi Amal,
>
> On Sun, Jun 5, 2016 at 5:36 PM, Amal Gunatilake <am...@wso2.com> wrote:
>
>> Hi Manu,
>>
>> I would like to add one more suggestion, if the UI is getting built on
>> Jaggery or if there is a chance on using it, then you can use the built-in
>> functionality[1] to easily access the user management service.
>>
>
> ​Just to clarify, is this built-in user-mgt API ​capable of talking to
> remote IS? I can't see how it authenticates to the remote IS from the doc.
> Any idea?
>

AFAIK, this is handled by a Jaggery bundle jar that wraps the user-mgt API.
Accroding to the documentation, pointing the server url to IS server should
provide access to IS services.


   1. var url = 'https://10.100.0.49:9443/admin/services/';
   2. var server = new carbon.server.Server(url);


I think Jaggery team can provide more insight on this.
@Sameera: Please add if you have any feedback.

Best regards,
Amal.

>
> [1]
>
> Thanks,
> Raj.
>
>>
>> [1] http://jaggeryjs.org/documentation.jag?api=UserManager
>>
>> Best regards,
>> Amal.
>>
>> On Sun, Jun 5, 2016 at 9:53 PM, Hasitha Aravinda <hasi...@wso2.com>
>> wrote:
>>
>>>
>>> Hi Manu,
>>>
>>> On Wed, Jun 1, 2016 at 11:56 PM, Manuranga Perera <m...@wso2.com> wrote:
>>>
>>>> What are the ways to get a list of user roles in BPS to display in UI.
>>>> What I can think of are :
>>>> 1. Use the user mgt web service
>>>> ​​
>>>> ​
>>>>
>>>>
>>>
>>> T
>>> ​his is possible option in default pack.
>>> ​
>>>
>>>
>>>> 2. Use embedded LDAP. Do we ship embedded LDAP (like in IS) with BPS ?
>>>>
>>>
>>> ​
>>> ​
>>> In default pack, BPS doesn't include
>>> ​
>>> RemoteUserStoreManagerService
>>> ​
>>> [1] which is provided by IS.
>>> ​ ​
>>> But this service
>>> ​
>>> provides much cleaner
>>> ​
>>> operations than
>>> ​
>>> which user-mgt service
>>> ​ p
>>> rovides
>>> ​
>>> .
>>> ​
>>> If
>>> ​
>>> you can install
>>> ​
>>> RemoteUserStoreManagerService
>>> ​
>>> in BPS, I think better
>>> ​ option is to use this services instead of user-mgt web service. ​
>>>
>>>
>>> ​[1] -
>>> https://docs.wso2.com/display/IS510/Managing+Users+and+Roles+with+APIs​​
>>>
>>>
>>>
>>>> Is there a better way? eg: a REST API ?
>>>>
>>>
>>> ​​
>>> ​
>>> ​We haven't exposed this as an API in BPMN rest API.
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>>
>>>> --
>>>> With regards,
>>>> *Manu*ranga Perera.
>>>>
>>>> phone : 071 7 70 20 50
>>>> mail : m...@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Hasitha Aravinda,
>>> Associate Technical Lead,
>>> WSO2 Inc.
>>> Email: hasi...@wso2.com
>>> Mobile : +94 718 210 200
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Amal Gunatilake*
>> WSO2 Inc.; http://wso2.com
>> Lean . Enterprise . Middleware
>>
>> mobile: (+94) 773561195
>> blog: amalg-blogs.blogspot.com; twitter: @daag123
>> linkedIn: https://www.linkedin.com/in/amalgunatilake
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Senior Software Engineer, WSO2
>
> Mobile : +94777568639
>



-- 
*Amal Gunatilake*
WSO2 Inc.; http://wso2.com
Lean . Enterprise . Middleware

mobile: (+94) 773561195
blog: amalg-blogs.blogspot.com; twitter: @daag123
linkedIn: https://www.linkedin.com/in/amalgunatilake
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to