On Sat, Jan 31, 2015 at 8:04 AM, Ajith Vitharana <[email protected]> wrote:

>
>
> On Fri, Jan 30, 2015 at 8:59 PM, Isura Karunaratne <[email protected]> wrote:
>
>> Hi Ajith,
>>
>>
>>
>> On Sat, Jan 31, 2015 at 2:05 AM, Ajith Vitharana <[email protected]> wrote:
>>
>>> Hi All
>>>
>>> The following REST invocation should be change to acceptable format. Why
>>> do we pass the username ("adam") along with the "userNameEq" constant.?
>>>
>>
>> Eq is the operator to check equal according to SCIM spec. See the 3.2.2.1
>> in [1]
>>
>
> If so fine, but then do we need to append the value to that ?
>
We have to go bit further step to make it spec compliance. Please refer [a].

[a] https://wso2.org/jira/browse/IDENTITY-2754

>
> -Ajith
>
>
>>> curl -v -k --user admin:admin https:
>>> //localhost:9443/wso2/scim/Users?filter=userNameEq*adam*
>>>
>>> Eg:
>>>
>>> curl -v -k --user admin:admin
>>> https://localhost:9443/wso2/scim/Users/filter?userName=<value>
>>>
>>> OR
>>>
>>> curl -v -k --user admin:admin
>>> https://localhost:9443/wso2/scim/Users/filter/username/<value>
>>>
>>>
>>> [1]
>>> https://docs.wso2.com/display/IS500/WSO2+Identity+Server+as+a+SCIM+Service+Provider
>>>
>>> -Ajith
>>>
>>> --
>>> Ajith Vitharana.
>>> WSO2 Inc. - http://wso2.org
>>> Email  :  [email protected]
>>> Mobile : +1-812-360-5335
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>> [1] http://www.simplecloud.info/specs/draft-scim-api-01.html
>>
>> Thanks
>> Isura
>>
>> --
>> Isura Dilhara Karunaratne
>> Software Engineer
>>
>> Mob +94 772 254 810
>>
>>
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  [email protected]
> Mobile : +1-812-360-5335
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: [email protected]
Mobile: +94 (71) 8020933
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to