Hi Lanka,

I think that is done to support both old claim management module and new
module from the same claim-mgt.xml.

Thanks
Isura.



On Thu, May 4, 2017 at 9:03 PM Pushpalanka Jayawardhana <[email protected]>
wrote:

> Hi All,
>
> As we know we define default claim mappings between dialects in this file
> named calim-config.xml.
> There we have default claim dialect(wso2.org) defined with all its
> required attributes. Then we also define other dialects and map each claim
> dialect URI to some local claim URI as suitable.
> Following is a fraction of such from SCIM dialect mapping.
>
> From 5.3.0 onwards we are depending on mapping the localClaim to other
> external claims URIs.
> In such case it seems '*<AttributeID>*' is not really neccessary to
> define here, as it is already defined in local claim definition.
>
> <Claim>
>     <ClaimURI>urn:scim:schemas:core:1.0:name.givenName</ClaimURI>
>     <DisplayName>Name - Given Name</DisplayName>
>     *<AttributeID>givenName</AttributeID>*
>     <Description>Given Name</Description>
>     <Required/>
>     <DisplayOrder>1</DisplayOrder>
>     <SupportedByDefault/>
>     <MappedLocalClaim>http://wso2.org/claims/givenname</MappedLocalClaim>
> </Claim>
>
> This is not a critical issue, but would be better to simplify the file
> removing this, if we can agree this is not necessary here.
>
> Thanks,
> --
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
> --

*Isura Dilhara Karunaratne*
Senior Software Engineer | WSO2
Email: [email protected]
Mob : +94 772 254 810
Blog : http://isurad.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to