In our identity-mgt level we don't treat username as a special attribute.
It's just another attribute. However in certain higher levels we may need
to treat username as a special attribute. We do have a claim for username
which I think is "http://wso2.org/claim/username";. We can treat this claim
as the username in higher level implementations.

On Fri, Feb 3, 2017 at 4:12 AM, Chamila Wijayarathna <
[email protected]> wrote:

> Hi Gayan,
>
> If we can add multiple users with same user name, why do we need to avoid
> adding multiple users in SCIM? I don't get the point here.
>
> If we consider two users with same username as two entities in server
> level, it won't be a duplicate resource creation IMO, it will be two
> different resources with same username.
>

I guess what Gayan means is in SCIM 2.0 username is a special attribute and
we can't have two users with same username attribute. It is a specification
of SCIM 2.0.

>
> Regards!
>
> On Fri, Feb 3, 2017 at 5:52 AM, Gayan Gunawardana <[email protected]> wrote:
>
>> Hi All,
>>
>> In C4 user name was an unique identifier and we returned http response
>> 409 (Conflict) if user name already exist [1]. In C5 user name is just an
>> another claim and we can add multiple users with same user name.
>> IMO we should check isUserExist in SCIM level and avoid adding multiple
>> users with same user name.
>>
>> WDYT ?
>>
>> [1] https://tools.ietf.org/html/rfc7644#section-3.12
>>
>> Thanks,
>> Gayan
>>
>> --
>> 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
>>
>>
>
>
> --
> 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 <+61%20416%20895%20795>
>
>


-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777776950*
Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to