Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32701

Provide a ScimV2 service to contribute a java mapping between Scim and Nuxeo User and Group Resources

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2023.0
    • Fix Version/s: 2023.14
    • Component/s: Identity Management
    • Release Notes Summary:
      You can contribute the ScimV2MappingService service to customize the Scim V2 <-> Nuxeo User and Group resources mapping
    • Release Notes Description:
      Hide

      You can contribute your own Scim V2 mapping with:

        <require>org.nuxeo.scim.v2.service.DefaultScimV2Mapping</require>
        <extension target="org.nuxeo.scim.v2.ScimV2MappingService"
                   point="scimV2Mapping">
          <scimV2Mapping
            class="xxx.yyy.zzz.CustomScimV2Mapping" />
        </extension>
      

      where CustomScimV2Mapping must implement the https://github.com/nuxeo/nuxeo-lts/blob/2023/modules/platform/nuxeo-scim-v2/src/main/java/org/nuxeo/scim/v2/api/ScimV2Mapping.java interface.

      Show
      You can contribute your own Scim V2 mapping with: <require>org.nuxeo.scim.v2.service.DefaultScimV2Mapping</require> <extension target= "org.nuxeo.scim.v2.ScimV2MappingService" point= "scimV2Mapping" > <scimV2Mapping class= "xxx.yyy.zzz.CustomScimV2Mapping" /> </extension> where CustomScimV2Mapping must implement the https://github.com/nuxeo/nuxeo-lts/blob/2023/modules/platform/nuxeo-scim-v2/src/main/java/org/nuxeo/scim/v2/api/ScimV2Mapping.java interface.
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #115, nxplatform #116
    • Story Points:
      8

      Description

      Unlike the ScimV1 addon where you could contribute a mapping between Nuxeo and Scim User and Group resources through groovy script contribution to the user mapper service (see https://github.com/nuxeo/nuxeo-lts/blob/2021/modules/platform/nuxeo-scim-server/src/main/resources/OSGI-INF/usermapper-contribs.xml), we would like to offer the possibility to contribute mapping implementation with a java implementation.

      We'll keep a default (static) implementation that will implement a contract interface and could be overridden (or extended) with an extension point like the user workspace service:

      This will allow, in addition to mapping Nuxeo <-> Scim resources (Users and Groups), to define column mapping required to support search features in terms of filtering and sorting where column/attribute mapping is also needed. This was not implemented in Scim V1 addon (see https://github.com/nuxeo/nuxeo-lts/blob/2021/modules/platform/nuxeo-scim-server/src/main/java/org/nuxeo/scim/server/jaxrs/usermanager/SCIMUserWebObject.java#L111)

      Question: do we still want to support groovy script within xml contribution?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: