public class LDAPUserManager extends AbstractManager implements UserIdentityManager
UserIdentityManager 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 |
| Constructor and Description |
|---|
LDAPUserManager(LDAPConfigurator ldapConfigurator) |
close, delete, flush, getAttachmentManager, getByteArrayManager, getDbSqlSession, getDeploymentManager, getEventSubscriptionManager, getGroupIdentityManager, getHistoricActivityInstanceManager, getHistoricDetailManager, getHistoricIdentityLinkEntityManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getHistoryManager, getIdentityInfoManager, getIdentityLinkManager, getMembershipIdentityManager, getModelManager, getProcessDefinitionInfoManager, getProcessDefinitionManager, getProcessEngineConfiguration, getProcessInstanceManager, getResourceManager, getSession, getTaskManager, getUserIdentityManager, getVariableInstanceManager, insertprotected LDAPConfigurator ldapConfigurator
public LDAPUserManager(LDAPConfigurator ldapConfigurator)
public User createNewUser(String userId)
createNewUser in interface UserIdentityManagerpublic void insertUser(User user)
insertUser in interface UserIdentityManagerpublic void updateUser(User updatedUser)
updateUser in interface UserIdentityManagerpublic boolean isNewUser(User user)
isNewUser in interface UserIdentityManagerpublic UserEntity findUserById(String userId)
findUserById in interface UserIdentityManagerpublic void deleteUser(String userId)
deleteUser in interface UserIdentityManagerpublic List<User> findUserByQueryCriteria(UserQueryImpl query, Page page)
findUserByQueryCriteria in interface UserIdentityManagerprotected void mapSearchResultToUser(SearchResult result, UserEntity user) throws NamingException
NamingExceptionpublic long findUserCountByQueryCriteria(UserQueryImpl query)
findUserCountByQueryCriteria in interface UserIdentityManagerpublic List<Group> findGroupsByUser(String userId)
findGroupsByUser in interface UserIdentityManagerpublic UserQuery createNewUserQuery()
createNewUserQuery in interface UserIdentityManagerpublic IdentityInfoEntity findUserInfoByUserIdAndKey(String userId, String key)
findUserInfoByUserIdAndKey in interface UserIdentityManagerpublic List<String> findUserInfoKeysByUserIdAndType(String userId, String type)
findUserInfoKeysByUserIdAndType in interface UserIdentityManagerpublic List<User> findPotentialStarterUsers(String proceDefId)
findPotentialStarterUsers in interface UserIdentityManagerpublic List<User> findUsersByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
findUsersByNativeQuery in interface UserIdentityManagerpublic long findUserCountByNativeQuery(Map<String,Object> parameterMap)
findUserCountByNativeQuery in interface UserIdentityManagerpublic void setUserPicture(String userId, Picture picture)
setUserPicture in interface UserIdentityManagerpublic Picture getUserPicture(String userId)
getUserPicture in interface UserIdentityManagerpublic Boolean checkPassword(String userId, String password)
checkPassword in interface UserIdentityManagerprotected SearchControls createSearchControls()
Copyright © 2016 Alfresco. All rights reserved.