Hi,

+1 for handling this with scenario with a 501 for only C4.

On Fri, Nov 11, 2016 at 4:36 PM, Darshana Gunawardana <darsh...@wso2.com>
wrote:

>
>
> On Fri, Nov 11, 2016 at 10:27 AM, Vindula Jayawardana <vind...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> In SCIM /Me endpoint, an authenticated user should be able to delete
>> himself as mentioned in specification [1]. However when I try to do that
>> using the current user core, I get a user store exception saying
>> 'LoggedInUser Cannot delete logged in user'.
>>
>> One way of how I can handle this is , as mentioned in specification
>> itself [2], can respond to HTTP DELETE on /Me endpoint with a HTTP status
>> code 501 as we can not support it.
>>
>
> +1. This is ok for C4. But with the C5 i don't think we have a restriction
> on this.
>
> Thanks,
>
>
>> Or else is there any other good way of handling this ?
>>
>> Any thoughts on this is highly appreciated.
>>
>> [1] https://tools.ietf.org/html/rfc7644#section-3.2
>> [2] https://tools.ietf.org/html/rfc7644#section-3.11
>> --
>> *Vindula Jayawardana*
>> Trainee Software Engineer
>> Mobile : +94 713 462554
>> Email : vind...@wso2.com
>>
>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Associate Technical Lead
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com <darsh...@wso2.com>*
> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chamila Dilshan Wijayarathna,
PhD Research Student
The University of New South Wales (UNSW Canberra)
Australian Centre for Cyber Security
Australian Defence Force Academy
PO Box 7916, Canberra BA ACT 2610
Australia
Mobile:(+61)416895795
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to