Re: [Dev] How to add a new User member to a Group in SCIM

2014-07-16 Thread Gayan Gunawardana
Hi Darshana, I have found a way. setUserMember(String id, String displayName) works fine. setUserMember(String id) also do the job but it fails during json decoding. Anyway thanks for looking into this. Thanks, Gayan On Wed, Jul 16, 2014 at 1:28 AM, Darshana Gunawardana darsh...@wso2.com

Re: [Dev] How to add a new User member to a Group in SCIM

2014-07-16 Thread Darshana Gunawardana
So does that means we can update user list of a group from externally(calling scim group endpoint) as well? On Wed, Jul 16, 2014 at 9:27 AM, Gayan Gunawardana ga...@wso2.com wrote: Hi Darshana, I have found a way. setUserMember(String id, String displayName) works fine.

Re: [Dev] How to add a new User member to a Group in SCIM

2014-07-16 Thread Gayan Gunawardana
Yes Darshana. Limitation was you have to send entire list with existing members. On Wed, Jul 16, 2014 at 8:07 PM, Darshana Gunawardana darsh...@wso2.com wrote: So does that means we can update user list of a group from externally(calling scim group endpoint) as well? On Wed, Jul 16, 2014

Re: [Dev] How to add a new User member to a Group in SCIM

2014-07-16 Thread Ishara Karunarathna
Hi Gayan, On Wed, Jul 16, 2014 at 7:42 AM, Gayan Gunawardana ga...@wso2.com wrote: Yes Darshana. Limitation was you have to send entire list with existing members. Isn't this the problem that you are going to address through patch operation. On Wed, Jul 16, 2014 at 8:07 PM, Darshana

Re: [Dev] How to add a new User member to a Group in SCIM

2014-07-16 Thread Gayan Gunawardana
Hi Ishara. Yes. That was done with patch operation. Thanks, Gayan On Wed, Jul 16, 2014 at 9:15 PM, Ishara Karunarathna isha...@wso2.com wrote: Hi Gayan, On Wed, Jul 16, 2014 at 7:42 AM, Gayan Gunawardana ga...@wso2.com wrote: Yes Darshana. Limitation was you have to send entire list

Re: [Dev] How to add a new User member to a Group in SCIM

2014-07-15 Thread Darshana Gunawardana
Hi Gayan, Have you found the way to do $subject? AFAIK, this functionality does not supported. If you have to add user to some group using scim, * Either you have to include that user while creating the group * Or you have to update role list of user. Thanks, Darshana On Mon, Jul 14, 2014 at

[Dev] How to add a new User member to a Group in SCIM

2014-07-14 Thread Gayan Gunawardana
Hi Ishara, While writing integration test for patch operation I wanted to modify user list of a group. I have tried following method setMember(String id) setUserMember(String id) setGroupMember(String id) but it gives org.apache.wink.client.ClientRuntimeException: