Package org.nuxeo.scim.server.mapper
Class ConfigurableUserMapper
- java.lang.Object
-
- org.nuxeo.scim.server.mapper.AbstractMapper
-
- org.nuxeo.scim.server.mapper.ConfigurableUserMapper
-
public class ConfigurableUserMapper extends AbstractMapper
Mapper implementation that uses theUserMapperService
- Since:
- 7.4
- Author:
- tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected UserMapperService
mapperService
protected static String
MAPPING_NAME
-
Fields inherited from class org.nuxeo.scim.server.mapper.AbstractMapper
baseUrl, um
-
-
Constructor Summary
Constructors Constructor Description ConfigurableUserMapper(String baseUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.nuxeo.scim.server.mapper.AbstractMapper
createGroupModelFromGroupResource, getGroupResourceFromNuxeoGroup, updateGroupModel, updateGroupModelFromGroupResource
-
-
-
-
Field Detail
-
mapperService
protected UserMapperService mapperService
-
MAPPING_NAME
protected static final String MAPPING_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigurableUserMapper
public ConfigurableUserMapper(String baseUrl)
-
-
Method Detail
-
getUserResourceFromNuxeoUser
public com.unboundid.scim.data.UserResource getUserResourceFromNuxeoUser(DocumentModel userModel) throws Exception
- Specified by:
getUserResourceFromNuxeoUser
in classAbstractMapper
- Throws:
Exception
-
createNuxeoUserFromUserResource
public DocumentModel createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user) throws NuxeoException
- Specified by:
createNuxeoUserFromUserResource
in classAbstractMapper
- Throws:
NuxeoException
-
updateNuxeoUserFromUserResource
public DocumentModel updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user) throws NuxeoException
- Specified by:
updateNuxeoUserFromUserResource
in classAbstractMapper
- Throws:
NuxeoException
-
-