public class StaticUserMapper extends AbstractMapper
UserMapperService
is not available)baseUrl, um
Constructor and Description |
---|
StaticUserMapper(String baseUrl) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user) |
com.unboundid.scim.data.UserResource |
getUserResourceFromNuxeoUser(DocumentModel userModel) |
DocumentModel |
updateNuxeoUserFromUserResource(String uid,
com.unboundid.scim.data.UserResource user) |
protected void |
updateUserModel(DocumentModel userModel,
com.unboundid.scim.data.UserResource userResouce) |
createGroupModelFromGroupResource, getGroupResourceFromNuxeoGroup, updateGroupModel, updateGroupModelFromGroupResource
public StaticUserMapper(String baseUrl)
public com.unboundid.scim.data.UserResource getUserResourceFromNuxeoUser(DocumentModel userModel) throws Exception
getUserResourceFromNuxeoUser
in class AbstractMapper
Exception
public DocumentModel createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user) throws NuxeoException
createNuxeoUserFromUserResource
in class AbstractMapper
NuxeoException
public DocumentModel updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user) throws NuxeoException
updateNuxeoUserFromUserResource
in class AbstractMapper
NuxeoException
protected void updateUserModel(DocumentModel userModel, com.unboundid.scim.data.UserResource userResouce) throws NuxeoException
NuxeoException
Copyright © 2015 Nuxeo SA. All rights reserved.