Package org.nuxeo.ecm.multi.tenant
Class MultiTenantUserManager
- java.lang.Object
-
- org.nuxeo.ecm.platform.usermanager.UserManagerImpl
-
- org.nuxeo.ecm.platform.computedgroups.UserManagerWithComputedGroups
-
- org.nuxeo.ecm.multi.tenant.MultiTenantUserManager
-
- All Implemented Interfaces:
Serializable
,AdministratorGroupsProvider
,MultiTenantUserManager
,UserManager
,Authenticator
,EventListener
public class MultiTenantUserManager extends UserManagerWithComputedGroups
- Since:
- 5.6
- Author:
- Thomas Roger
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.nuxeo.ecm.platform.usermanager.UserManager
UserManager.MatchType
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.platform.computedgroups.UserManagerWithComputedGroups
useComputedGroup, VIRTUAL_GROUP_MARKER
-
Fields inherited from class org.nuxeo.ecm.platform.usermanager.UserManagerImpl
administratorGroups, administratorIds, ANCESTOR_GROUPS_PROPERTY_KEY, anonymousUser, cacheService, DEFAULT_ANONYMOUS_USER_ID, defaultGroup, digestAuthDirectory, digestAuthRealm, dirService, disableDefaultAdministratorsGroup, GROUPCHANGED_EVENT_ID, groupConfig, GROUPCREATED_EVENT_ID, GROUPDELETED_EVENT_ID, groupDirectoryName, groupIdField, groupLabelField, groupListingMode, groupMembersField, GROUPMODIFIED_EVENT_ID, groupParentGroupsField, groupSchemaName, groupSearchFields, groupSortField, groupSubGroupsField, ID_PROPERTY_KEY, INVALIDATE_ALL_PRINCIPALS_EVENT_ID, INVALIDATE_PRINCIPAL_EVENT_ID, multiTenantManagement, principalCache, SEARCH_ESCAPE_COMPAT_PARAM, USER_GROUP_CATEGORY, USER_HAS_PARTIAL_CONTENT, USERCHANGED_EVENT_ID, userConfig, USERCREATED_EVENT_ID, USERDELETED_EVENT_ID, userDirectoryName, userEmailField, userIdField, userListingMode, USERMANAGER_TOPIC, USERMODIFIED_EVENT_ID, userPasswordPattern, userSchemaName, userSearchFields, userSortField, VIRTUAL_FIELD_FILTER_PREFIX, virtualUsers
-
-
Constructor Summary
Constructors Constructor Description MultiTenantUserManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NuxeoPrincipal
makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)
protected boolean
useCache()
-
Methods inherited from class org.nuxeo.ecm.platform.computedgroups.UserManagerWithComputedGroups
activateComputedGroup, createGroup, deleteGroup, getComputedGroupAsDocumentModel, getGroup, getGroup, getGroupIds, getGroupModel, getService, searchGroups, searchGroups, searchGroups, searchGroups, updateGroup
-
Methods inherited from class org.nuxeo.ecm.platform.usermanager.UserManagerImpl
appendSubgroups, areGroupsReadOnly, areUsersReadOnly, authenticate, checkGrouId, checkGroupsExistence, checkPasswordValidity, checkUserId, checkUsernamePassword, cloneMap, cloneSet, createGroup, createUser, createUser, deleteGroup, deleteGroup, deleteGroup, deleteUser, deleteUser, deleteUser, deleteUser, encodeDigestAuthPassword, getAdministratorsGroups, getAncestorGroups, getAnonymousUserId, getBareGroupModel, getBareUserModel, getDefaultGroup, getDescendantGroups, getDigestAuthDirectory, getDigestAuthModel, getDigestAuthRealm, getDirectorySortMap, getGroupConfig, getGroupDirectoryName, getGroupId, getGroupIdField, getGroupIds, getGroupLabelField, getGroupListingMode, getGroupMembersField, getGroupModel, getGroupOrderBy, getGroupParentGroupsField, getGroupSchemaName, getGroupSearchFields, getGroupsInGroup, getGroupsInGroup, getGroupSortMap, getGroupSubGroupsField, getLeafPermissions, getPrincipal, getPrincipal, getPrincipal, getPrincipalUsingCache, getQueryForPattern, getTopLevelGroups, getTopLevelGroups, getUserDirectoryName, getUserEmailField, getUserId, getUserIdField, getUserIds, getUserIds, getUserListingMode, getUserModel, getUserModel, getUserModel, getUserOrderBy, getUserPasswordPattern, getUserSchemaName, getUserSearchFields, getUsersForPermission, getUsersForPermission, getUsersInGroup, getUsersInGroup, getUsersInGroupAndSubGroups, getUsersInGroupAndSubGroups, getUserSortField, getUserSortMap, handleEvent, invalidateAllPrincipals, invalidatePrincipal, isAnonymousMatching, isAnonymousMatching, makeAnonymousPrincipal, makeGroup, makePrincipal, makePrincipal, makeTransientPrincipal, makeVirtualPrincipal, makeVirtualUserEntry, notifyCore, notifyCore, notifyGroupChanged, notifyRuntime, notifyUserChanged, populateAncestorGroups, populateDescendantGroups, queryWithVirtualEntries, removeVirtualFilters, searchGroups, searchGroups, searchPrincipals, searchUsers, searchUsers, searchUsers, searchUsers, searchUsers, searchUsers, searchUsers, setConfiguration, setGroupDirectoryName, setUserDirectoryName, setVirtualUsers, syncDigestAuthPassword, updateGroup, updateUser, updateUser, useSearchEscapeCompat, validatePassword
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.usermanager.UserManager
getPrincipal, notifyGroupChanged
-
-
-
-
Constructor Detail
-
MultiTenantUserManager
public MultiTenantUserManager()
-
-
Method Detail
-
makePrincipal
protected NuxeoPrincipal makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)
- Overrides:
makePrincipal
in classUserManagerWithComputedGroups
-
useCache
protected boolean useCache()
- Overrides:
useCache
in classUserManagerImpl
-
-