public interface UserMapper
UserMapperService| Modifier and Type | Method and Description | 
|---|---|
NuxeoPrincipal | 
getOrCreateAndUpdateNuxeoPrincipal(Object userObject)
Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObject 
 | 
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 
 | 
void | 
init(Map<String,String> params)
Init callback to receive the parameters set inside the descriptor 
 | 
void | 
release()
Release callback : called when the plugin is about to be unloaded 
 | 
Object | 
wrapNuxeoPrincipal(NuxeoPrincipal principal,
                  Object nativePrincipal,
                  Map<String,Serializable> params)
Wrap the  
NuxeoPrincipal as the userObject used in the external authentication system | 
NuxeoPrincipal getOrCreateAndUpdateNuxeoPrincipal(Object userObject)
userObject - the object representing the user in the external systemNuxeoPrincipal getOrCreateAndUpdateNuxeoPrincipal(Object userObject, boolean createIfNeeded, boolean update, Map<String,Serializable> params)
userObject - the object representing the user in the external systemcreateIfNeeded - flag to allow creation (default is true)update - flag to run update (default is true)Object wrapNuxeoPrincipal(NuxeoPrincipal principal, Object nativePrincipal, Map<String,Serializable> params)
NuxeoPrincipal as the userObject used in the external authentication systemprincipal - the NuxeoPrincipalnativePrincipal - the native object to represent the principal in the target systemvoid init(Map<String,String> params) throws Exception
params - Exceptionvoid release()
Copyright © 2019 Nuxeo. All rights reserved.