Hi Indunil,

IDM_USER table does not create a single entry for a single user. Rather it
will have an entry to map the user details in each connector for a single
user. As an example if there is one credential store connector and one
identity store connector there will be 2 entries for a single user in
IDM_USER. So with the current architecture, you will find it difficult to
achieve your goal.

@Thanuja, any thoughts?

Thanks,

On Tue, Feb 28, 2017 at 11:28 PM, Indunil Upeksha Rathnayake <
[email protected]> wrote:

> hi,
>
> As per the SCIM 2.0 Core specification (Refer [1]), there are *resource
> meta attributes such as resourceType, created, lastModified, location and
> version* which are Common Attributes for all the resources.
> As in the specification: "*Each SCIM resource (Users, Groups, etc.)
> includes the following common attributes.  With the exception of the
> "ServiceProviderConfig" and "ResourceType" server discovery endpoints and
> their associated resources, these attributes MUST be defined for all
> resources, including any extended resource types.*".
>
> Currently the SCIM meta attributes of a user, saved in the
> "UM_USER_ATTRIBUTES" table with the other user attributes. We are planning
> to move all the SCIM meta attributes to "IDM_USER" table([2]) and make it
> part of User, basically this is to have performance improvements when
> querying for list users(in list users need only to return meta data unless
> client specifically asks for other attributes) etc.
>
> But is it correct to move the meta attributes to "IDM_USER" table, since
> those are common attributes which are not directly related to the "User"
> Resource Schema?
>
> Appreciate your idea on this.
>
> [1] https://tools.ietf.org/html/rfc7643#section-3.1
> [2] https://github.com/wso2/carbon-identity-mgt/blob/
> master/feature/org.wso2.carbon.identity.mgt.feature/
> resources/dbscripts/identity-mgt/h2.sql#L21
>
> Thanks and Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Email    [email protected]
> Mobile   0772182255
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Maduranga Siriwardena
Software Engineer
WSO2 Inc; http://wso2.com/

Email: [email protected]
Mobile: +94718990591
Blog: http://madurangasblogs.blogspot.com/
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to