Interface UserMapper

    • Method Detail

      • getOrCreateAndUpdateNuxeoPrincipal

        NuxeoPrincipal getOrCreateAndUpdateNuxeoPrincipal​(Object userObject)
        Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObject
        Parameters:
        userObject - the object representing the user in the external system
      • getOrCreateAndUpdateNuxeoPrincipal

        NuxeoPrincipal getOrCreateAndUpdateNuxeoPrincipal​(Object userObject,
                                                          boolean createIfNeeded,
                                                          boolean update,
                                                          Map<String,​Serializable> params)
        Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObject
        Parameters:
        userObject - the object representing the user in the external system
        createIfNeeded - flag to allow creation (default is true)
        update - flag to run update (default is true)
      • release

        void release()
        Release callback : called when the plugin is about to be unloaded