public class LDAPUserManager extends AbstractManager implements UserEntityManager
UserEntityManager interface specifically for LDAP.
Note that only a few methods are actually implemented, as many of the operations
(save, update, etc.) are done on the LDAP system directly.| Modifier and Type | Field and Description |
|---|---|
protected LDAPConfigurator |
ldapConfigurator |
processEngineConfiguration| Constructor and Description |
|---|
LDAPUserManager(ProcessEngineConfigurationImpl processEngineConfiguration,
LDAPConfigurator ldapConfigurator) |
getAsyncExecutor, getAttachmentEntityManager, getByteArrayEntityManager, getClock, getCommandContext, getCommandExecutor, getCommentEntityManager, getDeploymentEntityManager, getEventDispatcher, getEventSubscriptionEntityManager, getExecutionEntityManager, getGroupEntityManager, getHistoricActivityInstanceEntityManager, getHistoricDetailEntityManager, getHistoricIdentityLinkEntityManager, getHistoricProcessInstanceEntityManager, getHistoricTaskInstanceEntityManager, getHistoricVariableInstanceEntityManager, getHistoryManager, getIdentityInfoEntityManager, getIdentityLinkEntityManager, getJobEntityManager, getJobExecutor, getMembershipEntityManager, getModelEntityManager, getProcessDefinitionEntityManager, getProcessDefinitionInfoEntityManager, getProcessEngineConfiguration, getResourceEntityManager, getSession, getTaskEntityManager, getUserIdentityEntityManager, getVariableInstanceEntityManagerprotected LDAPConfigurator ldapConfigurator
public LDAPUserManager(ProcessEngineConfigurationImpl processEngineConfiguration, LDAPConfigurator ldapConfigurator)
public User createNewUser(String userId)
createNewUser in interface UserEntityManagerpublic UserEntity create()
create in interface EntityManager<UserEntity>public void updateUser(User updatedUser)
updateUser in interface UserEntityManagerpublic UserEntity update(UserEntity entity)
update in interface EntityManager<UserEntity>public UserEntity update(UserEntity entity, boolean fireUpdateEvent)
update in interface EntityManager<UserEntity>public boolean isNewUser(User user)
isNewUser in interface UserEntityManagerpublic UserEntity findById(String userId)
findById in interface EntityManager<UserEntity>public void deletePicture(User user)
deletePicture in interface UserEntityManagerpublic List<User> findUserByQueryCriteria(UserQueryImpl query, Page page)
findUserByQueryCriteria in interface UserEntityManagerprotected void mapSearchResultToUser(SearchResult result, UserEntity user) throws NamingException
NamingExceptionpublic long findUserCountByQueryCriteria(UserQueryImpl query)
findUserCountByQueryCriteria in interface UserEntityManagerpublic List<Group> findGroupsByUser(String userId)
findGroupsByUser in interface UserEntityManagerpublic UserQuery createNewUserQuery()
createNewUserQuery in interface UserEntityManagerpublic List<User> findUsersByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
findUsersByNativeQuery in interface UserEntityManagerpublic long findUserCountByNativeQuery(Map<String,Object> parameterMap)
findUserCountByNativeQuery in interface UserEntityManagerpublic void setUserPicture(String userId, Picture picture)
setUserPicture in interface UserEntityManagerpublic Picture getUserPicture(String userId)
getUserPicture in interface UserEntityManagerpublic Boolean checkPassword(String userId, String password)
checkPassword in interface UserEntityManagerprotected SearchControls createSearchControls()
public void insert(UserEntity entity)
insert in interface EntityManager<UserEntity>public void insert(UserEntity entity, boolean fireCreateEvent)
insert in interface EntityManager<UserEntity>public void delete(String id)
delete in interface EntityManager<UserEntity>public void delete(UserEntity entity)
delete in interface EntityManager<UserEntity>public void delete(UserEntity entity, boolean fireDeleteEvent)
delete in interface EntityManager<UserEntity>Copyright © 2015 Alfresco. All rights reserved.