Add support to assign primitive values to multi-valued attributes in SCIM2
<SupportedByDefault />
<MappedLocalClaim>http://wso2.org/claims/active</MappedLocalClaim>
</Claim>
+ <Claim>
+ <ClaimURI>urn:ietf:params:scim:schemas:core:2.0:User:emails</ClaimURI>
+ <DisplayName>Emails</DisplayName>
+ <AttributeID>mail</AttributeID>
+ <Description>Email Addresses</Description>
+ <DisplayOrder>5</DisplayOrder>
+ <SupportedByDefault />
+ <RegEx>^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$</RegEx>
+ <MappedLocalClaim>http://wso2.org/claims/emailaddress</MappedLocalClaim>
+ </Claim>
<Claim>
<ClaimURI>urn:ietf:params:scim:schemas:core:2.0:User:emails.work</ClaimURI>
<DisplayName>Emails - Work Email</DisplayName>
<RegEx>^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$</RegEx>
<MappedLocalClaim>http://wso2.org/claims/emails.other</MappedLocalClaim>
</Claim>
+ <Claim>
+ <ClaimURI>urn:ietf:params:scim:schemas:core:2.0:User:phoneNumbers</ClaimURI>
+ <DisplayName>Phone Numbers</DisplayName>
+ <AttributeID>phoneNumbers</AttributeID>
+ <Description>Phone Numbers</Description>
+ <DisplayOrder>5</DisplayOrder>
+ <SupportedByDefault/>
+ <RegEx>^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$</RegEx>
+ <MappedLocalClaim>http://wso2.org/claims/phoneNumbers</MappedLocalClaim>
+ </Claim>
<Claim>
<ClaimURI>urn:ietf:params:scim:schemas:core:2.0:User:phoneNumbers.mobile</ClaimURI>
<DisplayName>Phone Numbers - Mobile Number</DisplayName>
<SupportedByDefault />
<MappedLocalClaim>http://wso2.org/claims/skype</MappedLocalClaim>
</Claim>
+ <Claim>
+ <ClaimURI>urn:ietf:params:scim:schemas:core:2.0:User:photos</ClaimURI>
+ <DisplayName>Photo</DisplayName>
+ <AttributeID>photos</AttributeID>
+ <Description>Photo</Description>
+ <DisplayOrder>5</DisplayOrder>
+ <SupportedByDefault />
+ <MappedLocalClaim>http://wso2.org/claims/photos</MappedLocalClaim>
+ </Claim>
<Claim>
<ClaimURI>urn:ietf:params:scim:schemas:core:2.0:User:photos.photo</ClaimURI>
<DisplayName>Photo</DisplayName>
<SupportedByDefault />
<MappedLocalClaim>http://wso2.org/claims/thumbnail</MappedLocalClaim>
</Claim>
+ <Claim>
+ <ClaimURI>urn:ietf:params:scim:schemas:core:2.0:User:addresses</ClaimURI>
+ <DisplayName>Address</DisplayName>
+ <AttributeID>addresses</AttributeID>
+ <Description>Address</Description>
+ <DisplayOrder>5</DisplayOrder>
+ <SupportedByDefault />
+ <MappedLocalClaim>http://wso2.org/claims/addresses</MappedLocalClaim>
+ </Claim>
<Claim>
<ClaimURI>urn:ietf:params:scim:schemas:core:2.0:User:addresses.home</ClaimURI>
<DisplayName>Address - Home</DisplayName>
