Uses of Interface
org.nuxeo.ecm.core.api.NuxeoPrincipal
-
Uses of NuxeoPrincipal in org.nuxeo.drive.adapter.impl
ModifierConstructorDescriptionprotected
AbstractFileSystemItem
(String factoryName, NuxeoPrincipal principal, boolean relaxSyncRootConstraint) AbstractVirtualFolderItem
(String factoryName, NuxeoPrincipal principal, String parentId, String parentPath, String folderName) DefaultTopLevelFolderItem
(String factoryName, NuxeoPrincipal principal, String folderName) -
Uses of NuxeoPrincipal in org.nuxeo.drive.hierarchy.permission.adapter
ModifierConstructorDescriptionPermissionTopLevelFolderItem
(String factoryName, NuxeoPrincipal principal, String folderName, List<String> childrenFactoryNames) SharedSyncRootParentFolderItem
(String factoryName, NuxeoPrincipal principal, String parentId, String parentPath, String folderName) -
Uses of NuxeoPrincipal in org.nuxeo.drive.hierarchy.permission.factory
Modifier and TypeMethodDescriptionPermissionTopLevelFactory.getTopLevelFolderItem
(NuxeoPrincipal principal) protected FolderItem
UserSyncRootParentFactory.getTopLevelFolderItem
(NuxeoPrincipal principal) PermissionTopLevelFactory.getVirtualFolderItem
(NuxeoPrincipal principal) SharedSyncRootParentFactory.getVirtualFolderItem
(NuxeoPrincipal principal) UserSyncRootParentFactory.getVirtualFolderItem
(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.drive.hierarchy.userworkspace.adapter
ModifierConstructorDescriptionUserWorkspaceSyncRootParentFolderItem
(String factoryName, NuxeoPrincipal principal, String parentId, String parentPath, String folderName) -
Uses of NuxeoPrincipal in org.nuxeo.drive.hierarchy.userworkspace.factory
Modifier and TypeMethodDescriptionUserWorkspaceTopLevelFactory.getTopLevelFolderItem
(NuxeoPrincipal principal) UserWorkspaceSyncRootParentFactory.getVirtualFolderItem
(NuxeoPrincipal principal) UserWorkspaceTopLevelFactory.getVirtualFolderItem
(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.drive.listener
Modifier and TypeMethodDescriptionprotected void
NuxeoDriveFileSystemDeletionListener.fireVirtualEventLogEntries
(DocumentModel doc, String eventName, NuxeoPrincipal principal, String impactedUserName, CoreSession session) -
Uses of NuxeoPrincipal in org.nuxeo.drive.service
Modifier and TypeMethodDescriptionboolean
FileSystemItemManager.canMove
(String srcId, String destId, NuxeoPrincipal principal) Return true if theFileSystemItem
with the given source id can be moved to theFileSystemItem
with the given destination id for the given principal.FileSystemItemManager.createFile
(String parentId, Blob blob, NuxeoPrincipal principal, boolean overwrite) Creates a file with the given blob in theFileSystemItem
with the given id for the given principal.FileSystemItemManager.createFolder
(String parentId, String name, NuxeoPrincipal principal, boolean overwrite) Creates a folder with the given name in theFileSystemItem
with the given id for the given principal.void
FileSystemItemManager.delete
(String id, String parentId, NuxeoPrincipal principal) Deletes theFileSystemItem
with the given id and parent id for the given principal.void
FileSystemItemManager.delete
(String id, NuxeoPrincipal principal) Deletes theFileSystemItem
with the given id for the given principal.boolean
FileSystemItemFactory.exists
(String id, NuxeoPrincipal principal) Returns true if aFileSystemItem
with the given id exists for the given principal.boolean
FileSystemItemManager.exists
(String id, NuxeoPrincipal principal) Returns true if aFileSystemItem
with the given id exists for the given principal.NuxeoDriveManager.getChangeSummary
(NuxeoPrincipal principal, Map<String, Set<IdRef>> lastSyncRootRefs, long lowerBound) Gets a summary of document changes in all repositories for the given user's synchronization roots, from the lower bound sent by the user's device.FileSystemItemManager.getChildren
(String id, NuxeoPrincipal principal) Gets the children of theFileSystemItem
with the given id for the given principal.NuxeoDriveManager.getCollectionSyncRootMemberIds
(NuxeoPrincipal principal) Fetch all the collection sync root member ids for a given user.FileSystemItemFactory.getFileSystemItemById
(String id, String parentId, NuxeoPrincipal principal) Gets theFileSystemItem
with the given id and parent id using a core session fetched with the given principal.FileSystemItemFactory.getFileSystemItemById
(String id, NuxeoPrincipal principal) Gets theFileSystemItem
with the given id using a core session fetched with the given principal.FileSystemItemManager.getFileSystemItemById
(String id, String parentId, NuxeoPrincipal principal) Gets theFileSystemItem
with the given id and parent id for the given principal.FileSystemItemManager.getFileSystemItemById
(String id, NuxeoPrincipal principal) Gets theFileSystemItem
with the given id for the given principal.NuxeoDriveManager.getSynchronizationRoots
(NuxeoPrincipal principal) Fetch all the synchronization root references and paths for a given user.FileSystemItemManager.getTopLevelFolder
(NuxeoPrincipal principal) Gets the top levelFolderItem
for the given principal.TopLevelFolderItemFactory.getTopLevelFolderItem
(NuxeoPrincipal principal) VirtualFolderItemFactory.getVirtualFolderItem
(NuxeoPrincipal principal) Returns the (unique) virtualFolderItem
.boolean
NuxeoDriveManager.isSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel doc) Checks if the givenDocumentModel
is a synchronization root for the given user.FileSystemItemManager.move
(String srcId, String destId, NuxeoPrincipal principal) Moves theFileSystemItem
with the given source id to theFileSystemItem
with the given destination id for the given principal.void
NuxeoDriveManager.registerSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session) FileSystemItemManager.rename
(String id, String name, NuxeoPrincipal principal) Renames theFileSystemItem
with the given id with the given name for the given principal.FileSystemItemManager.scrollDescendants
(String id, NuxeoPrincipal principal, String scrollId, int batchSize, long keepAlive) Retrieves at mostbatchSize
descendants of theFolderItem
with the givenid
for the givenprincipal
and the givenscrollId
.void
NuxeoDriveManager.unregisterSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session) FileSystemItemManager.updateFile
(String id, String parentId, Blob blob, NuxeoPrincipal principal) Updates theFileSystemItem
with the given id and parent id with the given blob for the given principal.FileSystemItemManager.updateFile
(String id, Blob blob, NuxeoPrincipal principal) Updates theFileSystemItem
with the given id with the given blob for the given principal. -
Uses of NuxeoPrincipal in org.nuxeo.drive.service.impl
Modifier and TypeMethodDescriptionboolean
FileSystemItemManagerImpl.canMove
(String srcId, String destId, NuxeoPrincipal principal) NuxeoDriveManagerImpl.computeCollectionSyncRootMemberIds
(NuxeoPrincipal principal) protected Map<String,
SynchronizationRoots> NuxeoDriveManagerImpl.computeSynchronizationRoots
(String query, NuxeoPrincipal principal) FileSystemItemManagerImpl.createFile
(String parentId, Blob blob, NuxeoPrincipal principal, boolean overwrite) FileSystemItemManagerImpl.createFolder
(String parentId, String name, NuxeoPrincipal principal, boolean overwrite) void
FileSystemItemManagerImpl.delete
(String id, String parentId, NuxeoPrincipal principal) void
FileSystemItemManagerImpl.delete
(String id, NuxeoPrincipal principal) boolean
AbstractFileSystemItemFactory.exists
(String id, NuxeoPrincipal principal) The default factory considers that aFileSystemItem
with the given id exists if the backingDocumentModel
can be fetched andAbstractFileSystemItemFactory.isFileSystemItem(DocumentModel)
returns true.boolean
AbstractVirtualFolderItemFactory.exists
(String id, NuxeoPrincipal principal) boolean
FileSystemItemManagerImpl.exists
(String id, NuxeoPrincipal principal) NuxeoDriveManagerImpl.getChangeSummary
(NuxeoPrincipal principal, Map<String, Set<IdRef>> lastSyncRootRefs, long lowerBound) Uses theAuditChangeFinder
to get the summary of document changes for the given user and lower bound.FileSystemItemManagerImpl.getChildren
(String id, NuxeoPrincipal principal) NuxeoDriveManagerImpl.getCollectionSyncRootMemberIds
(NuxeoPrincipal principal) AbstractFileSystemItemFactory.getFileSystemItemById
(String id, String parentId, NuxeoPrincipal principal) AbstractFileSystemItemFactory.getFileSystemItemById
(String id, NuxeoPrincipal principal) AbstractVirtualFolderItemFactory.getFileSystemItemById
(String id, String parentId, NuxeoPrincipal principal) AbstractVirtualFolderItemFactory.getFileSystemItemById
(String id, NuxeoPrincipal principal) FileSystemItemManagerImpl.getFileSystemItemById
(String id, String parentId, NuxeoPrincipal principal) FileSystemItemManagerImpl.getFileSystemItemById
(String id, NuxeoPrincipal principal) NuxeoDriveManagerImpl.getSynchronizationRoots
(NuxeoPrincipal principal) FileSystemItemManagerImpl.getTopLevelFolder
(NuxeoPrincipal principal) DefaultTopLevelFolderItemFactory.getTopLevelFolderItem
(NuxeoPrincipal principal) DefaultTopLevelFolderItemFactory.getVirtualFolderItem
(NuxeoPrincipal principal) boolean
NuxeoDriveManagerImpl.isSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel doc) FileSystemItemManagerImpl.move
(String srcId, String destId, NuxeoPrincipal principal) void
NuxeoDriveManagerImpl.registerSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session) FileSystemItemManagerImpl.rename
(String id, String name, NuxeoPrincipal principal) FileSystemItemManagerImpl.scrollDescendants
(String id, NuxeoPrincipal principal, String scrollId, int batchSize, long keepAlive) void
NuxeoDriveManagerImpl.unregisterSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session) FileSystemItemManagerImpl.updateFile
(String id, String parentId, Blob blob, NuxeoPrincipal principal) FileSystemItemManagerImpl.updateFile
(String id, Blob blob, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.duoweb.authentication
Modifier and TypeMethodDescriptionDuoFactorsAuthenticator.createIdentity
(String username) protected NuxeoPrincipal
DuoFactorsAuthenticator.validateUserIdentity()
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation.core.operations.services
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation.core.scripting
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation.features
Modifier and TypeMethodDescriptionPlatformFunctions.getPrincipal
(String username) PlatformFunctions.getPrincipal
(String username, boolean fetchReferences) Modifier and TypeMethodDescriptionPrincipalHelper.getPrincipalsForPermission
(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups) PlatformFunctions.getPrincipalsFromGroup
(String group) PlatformFunctions.getPrincipalsFromGroup
(String group, boolean ignoreGroups) PrincipalHelper.getPrincipalsFromGroup
(String groupId, boolean resolveGroups) Modifier and TypeMethodDescriptionvoid
PrincipalHelper.EmailCollector.collect
(NuxeoPrincipal principal) protected String
PlatformFunctions.getEmail
(NuxeoPrincipal principal, String userSchemaName, String userEmailFieldName) Modifier and TypeMethodDescriptionPlatformFunctions.getPrincipalEmails
(List<NuxeoPrincipal> principals) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api
Modifier and TypeMethodDescriptionstatic NuxeoPrincipal
NuxeoPrincipal.getCurrent()
Returns the current logged inNuxeoPrincipal
.protected static NuxeoPrincipal
CoreInstance.getPrincipal
(String username) CoreSession.getPrincipal()
Gets the principal that created the client session.DocumentModel.getPrincipal()
Gets the principal attached to this document's session.Modifier and TypeMethodDescriptionCoreSessionService.createCoreSession
(String repositoryName, NuxeoPrincipal principal) Instantiates aCoreSession
.CoreSessionServiceImpl.createCoreSession
(String repositoryName, NuxeoPrincipal principal) AbstractSession.filterGrantedPermissions
(NuxeoPrincipal principal, DocumentRef docRef, Collection<String> permissions) CoreSession.filterGrantedPermissions
(NuxeoPrincipal principal, DocumentRef docRef, Collection<String> permissions) Filters the supplied permissions based on whether they are granted to a given principal for a given document.static CoreSession
CoreInstance.getCoreSession
(String repositoryName, NuxeoPrincipal principal) Gets aCoreSession
for the given principal.boolean
AbstractSession.hasPermission
(NuxeoPrincipal principal, DocumentRef docRef, String permission) protected final boolean
AbstractSession.hasPermission
(NuxeoPrincipal principal, Document doc, String permission) boolean
CoreSession.hasPermission
(NuxeoPrincipal principal, DocumentRef docRef, String permission) Checks if a given principal has the given privilege on the referred document.static CloseableCoreSession
CoreInstance.openCoreSession
(String repositoryName, NuxeoPrincipal principal) Deprecated. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api.impl
Modifier and TypeMethodDescriptionDocumentModelImpl.getPrincipal()
SimpleDocumentModel.getPrincipal()
ModifierConstructorDescriptionDocumentModelImpl
(String type, String id, Path path, DocumentRef docRef, DocumentRef parentRef, String[] schemas, Set<String> facets, String sourceId, boolean isProxy, CoreSession coreSession, String repositoryName, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api.local
Modifier and TypeMethodDescriptionstatic NuxeoPrincipal
ClientLoginModule.getCurrentPrincipal()
Deprecated.since 11.1, usegetCurrent()
insteadLocalSession.getPrincipal()
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api.trash
Modifier and TypeMethodDescriptionboolean
TrashService.canPurgeOrUntrash
(List<DocumentModel> docs, NuxeoPrincipal principal) Are all documents purgeable/undeletable?default boolean
TrashService.canPurgeOrUntrash
(DocumentModel doc, NuxeoPrincipal principal) Is document purgeable/untrashable?TrashService.getAboveDocument
(DocumentModel doc, NuxeoPrincipal principal) Gets the first non trashed ancestor. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.event
Modifier and TypeMethodDescriptionvoid
EventContext.setPrincipal
(NuxeoPrincipal principal) Sets the principal. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.event.impl
Modifier and TypeMethodDescriptionEventContextImpl.getPrincipal()
ShallowDocumentModel.getPrincipal()
ModifierConstructorDescriptionBlobEventContext
(NuxeoPrincipal principal, String repositoryName, String docId, String xpath, ManagedBlob blob) DocumentDomainEventContext
(NuxeoPrincipal principal, Document doc) DocumentEventContext
(CoreSession session, NuxeoPrincipal principal, DocumentModel source) DocumentEventContext
(CoreSession session, NuxeoPrincipal principal, DocumentModel source, DocumentRef destDoc) EventContextImpl
(CoreSession session, NuxeoPrincipal principal) EventContextImpl
(CoreSession session, NuxeoPrincipal principal, Object... args) InlineEventContext
(CoreSession session, NuxeoPrincipal principal, Map<String, Serializable> properties) InlineEventContext
(NuxeoPrincipal principal, Map<String, Serializable> properties) UnboundEventContext
(CoreSession session, NuxeoPrincipal principal, Map<String, Serializable> properties) UnboundEventContext
(NuxeoPrincipal principal, Map<String, Serializable> properties) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.io.download
Modifier and TypeMethodDescriptionprotected static NuxeoPrincipal
DownloadServiceImpl.getPrincipal()
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.model
Modifier and TypeMethodDescriptionstatic boolean
BaseSession.canDeleteUndeletable
(NuxeoPrincipal principal) Can undeletable documents be deleted.void
Document.remove
(NuxeoPrincipal principal) Removes this document and all its children, if any. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.opencmis.impl.server
Modifier and TypeMethodDescriptionprotected String
CMISQLQueryMaker.applySecurityPolicyQueryTransformers
(NuxeoCmisService service, NuxeoPrincipal principal, String statement) Applies security policies query transformers to the statement, if possible. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.query
ModifierConstructorDescriptionQueryFilter
(NuxeoPrincipal principal, String[] principals, String[] permissions, FacetFilter facetFilter, Collection<SQLQuery.Transformer> queryTransformers, long limit, long offset) Constructs a query filter. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.query.sql.model
Modifier and TypeMethodDescriptionSQLQuery.IdentityTransformer.transform
(NuxeoPrincipal principal, SQLQuery query) SQLQuery.Transformer.transform
(NuxeoPrincipal principal, SQLQuery query) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.security
Modifier and TypeMethodDescriptionCheckInSecurityPolicy.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) LockSecurityPolicy.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) RetentionAndHoldSecurityPolicy.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) SecurityPolicy.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) Checks given permission for doc and principal.SecurityPolicyService.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] principalsToCheck) Checks given permission for doc and principal.SecurityPolicyServiceImpl.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) boolean
SecurityService.checkPermission
(Document doc, NuxeoPrincipal principal, String permission) SecurityService.filterGrantedPermissions
(Document doc, NuxeoPrincipal principal, Collection<String> permissions) Filters the supplied permissions based on whether they are granted to a given principal for a given document.static String[]
SecurityService.getPrincipalsToCheck
(NuxeoPrincipal principal) SecurityPolicy.IdentityQueryTransformer.transform
(NuxeoPrincipal principal, String query) SecurityPolicy.QueryTransformer.transform
(NuxeoPrincipal principal, String query) Transforms a query into another query that has the security policy applied. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.storage.dbs
Modifier and TypeMethodDescriptionvoid
DBSDocument.remove
(NuxeoPrincipal principal) protected void
DBSSession.remove
(String rootId, NuxeoPrincipal principal) Removes a document. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.storage.sql.coremodel
Modifier and TypeMethodDescriptionvoid
SQLDocumentLive.remove
(NuxeoPrincipal principal) void
SQLDocumentProxy.remove
(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.storage.sql.security
Modifier and TypeMethodDescriptionNoFileSecurityPolicy.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) NoFile2SecurityPolicy.NoFileTransformer.transform
(NuxeoPrincipal principal, SQLQuery query) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.trash
Modifier and TypeMethodDescriptionboolean
AbstractTrashService.canDelete
(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies) boolean
TrashService.canDelete
(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies) Deprecated.since 10.1 only used in JSF part, no replacementdefault boolean
TrashService.canPurgeOrUndelete
(List<DocumentModel> docs, NuxeoPrincipal principal) Deprecated.since 10.1, useTrashService.canPurgeOrUntrash(List, NuxeoPrincipal)
boolean
AbstractTrashService.canPurgeOrUntrash
(List<DocumentModel> docs, NuxeoPrincipal principal) AbstractTrashService.getAboveDocument
(DocumentModel doc, NuxeoPrincipal principal) protected TrashInfo
AbstractTrashService.getInfo
(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted) AbstractTrashService.getTrashInfo
(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted) TrashService.getTrashInfo
(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted) Deprecated.since 10.1 only used in JSF part, no replacement -
Uses of NuxeoPrincipal in org.nuxeo.ecm.multi.tenant
Modifier and TypeMethodDescriptionprotected NuxeoPrincipal
MultiTenantUserManager.makePrincipal
(DocumentModel userEntry, boolean anonymous, List<String> groups) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.permissions
Modifier and TypeMethodDescriptionstatic String
PermissionGrantedNotificationListener.principalFullName
(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.actions
Modifier and TypeMethodDescriptionfinal NuxeoPrincipal
AbstractActionContext.getCurrentPrincipal()
ActionContext.getCurrentPrincipal()
Returns the current principal to use for filter evaluationModifier and TypeMethodDescriptionfinal void
AbstractActionContext.setCurrentPrincipal
(NuxeoPrincipal currentPrincipal) void
ActionContext.setCurrentPrincipal
(NuxeoPrincipal currentPrincipal) Sets the current principal to use for filter evaluation -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.audit.provider
Modifier and TypeMethodDescriptionprotected boolean
LatestCreatedUsersOrGroupsPageProvider.canSearchUsersAndGroups
(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.comment.impl
Modifier and TypeMethodDescriptionprotected NuxeoPrincipal
AbstractCommentManager.getAuthor
(DocumentModel docModel) Modifier and TypeMethodDescriptionprotected void
TreeCommentManager.subscribeToNotifications
(DocumentModel document, NuxeoPrincipal user) Subscribes a user to notifications on the document. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.computedgroups
Modifier and TypeMethodDescriptionprotected NuxeoPrincipal
UserManagerWithComputedGroups.makePrincipal
(DocumentModel userEntry, boolean anonymous, List<String> groups) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.ec.notification.service
Modifier and TypeMethodDescriptionvoid
NotificationService.addSubscription
(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName) void
NotificationService.addSubscriptions
(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal) void
NotificationService.sendDocumentByMail
(DocumentModel doc, String freemarkerTemplateName, String subject, String comment, NuxeoPrincipal sender, List<String> sendTo) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.filemanager.api
Modifier and TypeMethodDescriptionFileManager.findExistingDocumentWithFile
(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal) FileManager.getCreationContainers
(NuxeoPrincipal principal, String docType) Returns the list of document that are to be suggested to principalName as a candidate container for a new document of type docType on all registered repositories. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.filemanager.core.listener
Modifier and TypeMethodDescriptionprotected abstract void
AbstractUnicityChecker.onDuplicatedDoc
(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event) protected void
AsynchronousUnicityCheckListener.onDuplicatedDoc
(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event) protected void
SynchronousUnicityCheckListener.onDuplicatedDoc
(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event) protected void
AbstractUnicityChecker.raiseDuplicatedFileEvent
(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.filemanager.service
Modifier and TypeMethodDescriptionFileManagerService.findExistingDocumentWithFile
(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal) FileManagerService.getCreationContainers
(NuxeoPrincipal principal, String docType) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.mail.security
Modifier and TypeMethodDescriptionMailMessageSecurityPolicy.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.notification.api
Modifier and TypeMethodDescriptionvoid
NotificationManager.addSubscription
(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName) Called when a user subscribes to a notification.void
NotificationManager.addSubscriptions
(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal) void
NotificationManager.sendDocumentByMail
(DocumentModel doc, String freemarkerTemplateName, String subject, String comment, NuxeoPrincipal sender, List<String> sendTo) Sends an e-mail directly. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.oauth2.clients
Modifier and TypeMethodDescriptionprotected void
OAuth2ClientServiceImpl.checkPermission
(NuxeoPrincipal principal) OAuth2ClientService.create
(OAuth2Client oAuth2Client, NuxeoPrincipal principal) Registers a new oAuth2 client as the given principal.OAuth2ClientServiceImpl.create
(OAuth2Client oAuth2Client, NuxeoPrincipal principal) void
OAuth2ClientService.delete
(String clientId, NuxeoPrincipal principal) Deletes an oAuth2 client as the given principal.void
OAuth2ClientServiceImpl.delete
(String clientId, NuxeoPrincipal principal) protected <T> T
OAuth2ClientServiceImpl.execute
(Function<Session, T> function, NuxeoPrincipal principal) OAuth2ClientService.update
(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal) Updates an exiting oAuth2 client as the given principal.OAuth2ClientServiceImpl.update
(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.oauth2.tokens
Modifier and TypeMethodDescriptionprotected void
OAuth2TokenServiceImpl.checkPermission
(NuxeoPrincipal principal) protected List<NuxeoOAuth2Token>
OAuth2TokenServiceImpl.findTokens
(QueryBuilder queryBuilder, NuxeoPrincipal principal) OAuth2TokenService.getTokens
(NuxeoPrincipal principal) Gets the oAuth2 tokens as the given principal.OAuth2TokenService.getTokens
(NuxeoOAuth2TokenType type, NuxeoPrincipal principal) Gets the oAuth2 tokens for a given type as the given principal.OAuth2TokenServiceImpl.getTokens
(NuxeoPrincipal principal) OAuth2TokenServiceImpl.getTokens
(NuxeoOAuth2TokenType type, NuxeoPrincipal principal) OAuth2TokenService.search
(String query, NuxeoPrincipal principal) Finds the oAuth2 tokens that match the givenquery
as the given principal.OAuth2TokenServiceImpl.search
(String query, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.publisher.task
Modifier and TypeFieldDescriptionprotected NuxeoPrincipal
CoreProxyWithWorkflowFactory.DocumentPublisherUnrestricted.principal
Modifier and TypeMethodDescriptionprotected void
CoreProxyWithWorkflowFactory.createTask
(DocumentModel document, CoreSession session, NuxeoPrincipal principal) protected void
CoreProxyWithWorkflowFactory.endTask
(DocumentModel document, NuxeoPrincipal currentUser, CoreSession session, String comment, PublishingEvent event) protected boolean
CoreProxyWithWorkflowFactory.hasValidationTask
(DocumentModel proxy, NuxeoPrincipal currentUser) protected boolean
CoreProxyWithWorkflowFactory.isValidator
(DocumentModel document, NuxeoPrincipal principal) protected void
CoreProxyWithWorkflowFactory.restrictPermission
(DocumentModel newProxy, NuxeoPrincipal principal, CoreSession coreSession, ACL acl) ModifierConstructorDescriptionChangePermissionUnrestricted
(CoreSession session, DocumentModel document, String[] validators, NuxeoPrincipal principal, String aclName, ACL acl) DocumentPublisherUnrestricted
(CoreSession session, DocumentRef docRef, DocumentRef targetRef, NuxeoPrincipal principal, String comment) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.query.api
Modifier and TypeMethodDescriptionprotected void
AbstractPageProvider.fireSearchEvent
(NuxeoPrincipal principal, String query, List<T> entries, Long executionTimeMs) Send a search event so that PageProvider calls can be tracked by Audit or other statistic gathering process -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.task
Modifier and TypeMethodDescriptionTaskService.acceptTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) Ends the task using event nameTaskEventNames.WORKFLOW_TASK_COMPLETED
and marking the task as validated.boolean
TaskService.canEndTask
(NuxeoPrincipal principal, Task task) Returns true if user is an administrator, the initiator of the task, or an actor of the task.TaskService.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath, Map<String, Serializable> eventInfo) Creates a task of the given document type and starts it.TaskService.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) Creates a task and starts it.TaskService.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) Creates a task and starts it.TaskService.createTaskForProcess
(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath, Map<String, Serializable> eventInfo) Creates a task of the given documents type and starts it.TaskProvider.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Ends the taskTaskService.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Ends the taskTaskProvider.getAllTaskInstances
(String processId, NuxeoPrincipal user, CoreSession session) Returns all the tasks instances for the givenprocessId
and where the user is the actor or belongs to the pooled actor list.TaskProvider.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) Returns the list of task instances associated with this document for which the user is the actor or belongs to the pooled actor list.TaskService.rejectTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) Ends the task using event nameTaskEventNames.WORKFLOW_TASK_REJECTED
and marking the task as not validated. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.task.core.helpers
Modifier and TypeMethodDescriptionTaskActorsHelper.getTaskActors
(NuxeoPrincipal principal) Gets the task actors list: prefixed and unprefixed names of the principal and all its groups. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.task.core.service
Modifier and TypeMethodDescriptionTaskServiceImpl.acceptTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) boolean
TaskServiceImpl.canEndTask
(NuxeoPrincipal principal, Task task) protected boolean
TaskServiceImpl.checkPermissions
(NuxeoPrincipal principal, Task task) void
CreateTaskUnrestricted.createTask
(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) void
CreateTaskUnrestricted.createTask
(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) void
CreateTaskUnrestricted.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) void
CreateTaskUnrestricted.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) TaskServiceImpl.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath, Map<String, Serializable> eventInfo) TaskServiceImpl.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) TaskServiceImpl.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) TaskServiceImpl.createTaskForProcess
(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath, Map<String, Serializable> eventInfo) DocumentTaskProvider.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) TaskServiceImpl.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Use the task provider held by theTask.TASK_PROVIDER_KEY
task variable to end thetask
.DocumentTaskProvider.getAllTaskInstances
(String processId, NuxeoPrincipal user, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, NuxeoPrincipal user, CoreSession session) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) TaskServiceImpl.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) protected boolean
TaskServiceImpl.isTaskAssignedToUser
(Task task, NuxeoPrincipal user, boolean checkDelegatedActors) static void
TaskEventNotificationHelper.notifyEvent
(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String, Serializable> properties, String comment, String category) protected void
TaskServiceImpl.notifyEvent
(CoreSession session, Task task, List<DocumentModel> docs, String event, Map<String, Serializable> eventInfo, String comment, NuxeoPrincipal principal, List<String> actorIds) static void
TaskEventNotificationHelper.notifyTaskEnded
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, Map<String, Serializable> extraEventProperties) TaskServiceImpl.rejectTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) ModifierConstructorDescriptionCreateTaskUnrestricted
(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) CreateTaskUnrestricted
(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) CreateTaskUnrestricted
(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) CreateTaskUnrestricted
(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) CreateTaskUnrestricted
(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.ui.web.auth
Modifier and TypeMethodDescriptionprotected static NuxeoPrincipal
NuxeoAuthenticationFilter.createPrincipal
(String username) Creates a principal without checking authentication. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.ui.web.keycloak
Modifier and TypeMethodDescriptionKeycloakUserMapper.getOrCreateAndUpdateNuxeoPrincipal
(Object userObject) KeycloakUserMapper.getOrCreateAndUpdateNuxeoPrincipal
(Object userObject, boolean createIfNeeded, boolean update, Map<String, Serializable> params) Modifier and TypeMethodDescriptionKeycloakUserMapper.wrapNuxeoPrincipal
(NuxeoPrincipal principal, Object nativePrincipal, Map<String, Serializable> params) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.usermanager
Modifier and TypeClassDescriptionclass
protected static class
Provides another implementation which marshall the user id instead of transferring the whole content and resolve it when unmarshalled.Modifier and TypeMethodDescriptionprotected NuxeoPrincipal
NuxeoPrincipalImpl.cloneTransferable()
FakeUserManagerImpl.getPrincipal
(String username, boolean fetchReferences) MultiTenantUserManager.getPrincipal
(String username, DocumentModel context) Retrieves the principal with the given username or null if it does not exist into the given context document.default NuxeoPrincipal
UserManager.getPrincipal
(String username) CallsUserManager.getPrincipal(String, boolean)
to retrieve a principal and its references, given its usernameUserManager.getPrincipal
(String username, boolean fetchReferences) Retrieves the principal with the given username or null if it does not exist.UserManagerImpl.getPrincipal
(String username, boolean fetchReferences) UserManagerImpl.getPrincipal
(String username, DocumentModel context) protected NuxeoPrincipal
UserManagerImpl.getPrincipal
(String username, DocumentModel context, boolean fetchReferences) protected NuxeoPrincipal
UserManagerImpl.getPrincipalUsingCache
(String username) protected NuxeoPrincipal
UserManagerImpl.makeAnonymousPrincipal()
protected NuxeoPrincipal
UserManagerImpl.makePrincipal
(DocumentModel userEntry) protected NuxeoPrincipal
UserManagerImpl.makePrincipal
(DocumentModel userEntry, boolean anonymous, boolean isTransient, List<String> groups) protected NuxeoPrincipal
UserManagerImpl.makePrincipal
(DocumentModel userEntry, boolean anonymous, List<String> groups) protected NuxeoPrincipal
UserManagerImpl.makeTransientPrincipal
(String username) protected NuxeoPrincipal
UserManagerImpl.makeVirtualPrincipal
(VirtualUser user) Modifier and TypeMethodDescriptionFakeUserManagerImpl.searchPrincipals
(String pattern) UserManager.searchPrincipals
(String pattern) Deprecated.UserManagerImpl.searchPrincipals
(String pattern) Modifier and TypeMethodDescriptionstatic void
UserManagerHelper.addUserToGroup
(NuxeoPrincipal principal, NuxeoGroup group) static void
UserManagerHelper.addUserToGroup
(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers) static void
UserManagerHelper.removeUserFromGroup
(NuxeoPrincipal principal, NuxeoGroup group) static void
UserManagerHelper.removeUserFromGroup
(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.usermanager.io
Modifier and TypeMethodDescriptionprotected NuxeoPrincipal
NuxeoPrincipalJsonReader.readEntity
(com.fasterxml.jackson.databind.JsonNode jn) Modifier and TypeMethodDescriptionprotected void
NuxeoPrincipalJsonWriter.writeEntityBody
(NuxeoPrincipal principal, com.fasterxml.jackson.core.JsonGenerator jg) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.usermanager.providers
Modifier and TypeFieldDescriptionprotected List<NuxeoPrincipal>
NuxeoPrincipalsPageProvider.pagePrincipals
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.userworkspace.api
Modifier and TypeMethodDescriptionUserWorkspaceService.getUserPersonalWorkspace
(NuxeoPrincipal principal, DocumentModel context) Gets a detached user workspace of a specified user depending of the passed principal.boolean
UserWorkspaceService.isUnderUserWorkspace
(NuxeoPrincipal principal, String username, DocumentModel doc) Checks whether the passed document is under the user's workspace (or is the workspace itself). -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.userworkspace.core.service
Modifier and TypeMethodDescriptionprotected DocumentModel
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace
(NuxeoPrincipal principal, String userName, CoreSession userCoreSession) This method handles the UserWorkspace creation with a Principal or a username.protected PathRef
AbstractUserWorkspaceImpl.getExistingUserWorkspace
(CoreSession session, PathRef rootref, NuxeoPrincipal principal, String username) protected String
AbstractUserWorkspaceImpl.getUserName
(NuxeoPrincipal principal, String username) Gets the base username to use to determine a user's workspace.AbstractUserWorkspaceImpl.getUserPersonalWorkspace
(NuxeoPrincipal principal, DocumentModel context) boolean
AbstractUserWorkspaceImpl.isUnderUserWorkspace
(NuxeoPrincipal principal, String username, DocumentModel doc) protected void
AbstractUserWorkspaceImpl.notifyEvent
(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, String eventId, Map<String, Serializable> properties) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.restapi.server.jaxrs
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.restapi.server.jaxrs.usermanager
Modifier and TypeMethodDescriptionprotected NuxeoPrincipal
UserRootObject.createArtifact
(NuxeoPrincipal principal) MeObject.doGet
(javax.ws.rs.core.Request request) protected NuxeoPrincipal
UserRootObject.getArtifact
(String id) protected NuxeoPrincipal
UserObject.updateArtifact
(NuxeoPrincipal principal) Modifier and TypeMethodDescriptionprotected void
UserToGroupObject.addUserToGroup
(NuxeoPrincipal principal, NuxeoGroup group) protected void
UserRootObject.checkPrecondition
(NuxeoPrincipal principal) protected NuxeoPrincipal
UserRootObject.createArtifact
(NuxeoPrincipal principal) protected boolean
UserObject.isAPowerUserEditableArtifact
(NuxeoPrincipal artifact) protected void
UserToGroupObject.removeUserFromGroup
(NuxeoPrincipal principal, NuxeoGroup group) protected NuxeoPrincipal
UserObject.updateArtifact
(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.restapi.test
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.user.center.profile.rest
Modifier and TypeMethodDescriptionvoid
UserProfileEnricher.write
(com.fasterxml.jackson.core.JsonGenerator jg, NuxeoPrincipal nuxeoPrincipal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.user.invite
Modifier and TypeMethodDescriptionUserInvitationComponent.createUser
(CoreSession session, DocumentModel registrationDoc) UserInvitationService.createUser
(CoreSession session, DocumentModel registrationDoc) DefaultInvitationUserFactory.doCreateUser
(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration) InvitationUserFactory.doCreateUser
(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration) Handle user creationModifier and TypeMethodDescriptionprotected boolean
DefaultInvitationUserFactory.acceptGroup
(NuxeoPrincipal originatingPrincipal, String groupName) void
DefaultInvitationUserFactory.doPostUserCreation
(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user) void
InvitationUserFactory.doPostUserCreation
(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user) Called just after the user is created -
Uses of NuxeoPrincipal in org.nuxeo.ecm.webengine.model
Modifier and TypeMethodDescriptionWebContext.getPrincipal()
Gets the principal identifying the user that originated the request. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.webengine.model.impl
-
Uses of NuxeoPrincipal in org.nuxeo.elasticsearch.http.readonly
Modifier and TypeFieldDescriptionprotected NuxeoPrincipal
AbstractSearchRequestFilterImpl.principal
ModifierConstructorDescriptionDocRequestFilter
(NuxeoPrincipal principal, String indices, String documentId, String rawQuery) DocRequestFilter
(NuxeoPrincipal principal, String indices, String types, String documentId, String rawQuery) Deprecated, for removal: This API element is subject to removal in a future version.since 11.4, types have been removed since Elasticsearch 7.x, useDocRequestFilter(NuxeoPrincipal, String, String, String)
instead -
Uses of NuxeoPrincipal in org.nuxeo.elasticsearch.http.readonly.filter
Modifier and TypeMethodDescriptionvoid
RequestValidator.checkAccess
(NuxeoPrincipal principal, String docAcl) -
Uses of NuxeoPrincipal in org.nuxeo.template.context.extensions
-
Uses of NuxeoPrincipal in org.nuxeo.usermapper.extension
Modifier and TypeMethodDescriptionAbstractUserMapper.getOrCreateAndUpdateNuxeoPrincipal
(Object userObject) AbstractUserMapper.getOrCreateAndUpdateNuxeoPrincipal
(Object userObject, boolean createIfNeeded, boolean update, Map<String, Serializable> params) UserMapper.getOrCreateAndUpdateNuxeoPrincipal
(Object userObject) Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectUserMapper.getOrCreateAndUpdateNuxeoPrincipal
(Object userObject, boolean createIfNeeded, boolean update, Map<String, Serializable> params) Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectModifier and TypeMethodDescriptionGroovyUserMapper.wrapNuxeoPrincipal
(NuxeoPrincipal principal, Object userObject, Map<String, Serializable> params) NashornUserMapper.wrapNuxeoPrincipal
(NuxeoPrincipal principal, Object userObject, Map<String, Serializable> params) UserMapper.wrapNuxeoPrincipal
(NuxeoPrincipal principal, Object nativePrincipal, Map<String, Serializable> params) Wrap theNuxeoPrincipal
as the userObject used in the external authentication system -
Uses of NuxeoPrincipal in org.nuxeo.usermapper.service
Modifier and TypeMethodDescriptionUserMapperComponent.getOrCreateAndUpdateNuxeoPrincipal
(String mappingName, Object userObject) UserMapperComponent.getOrCreateAndUpdateNuxeoPrincipal
(String mappingName, Object userObject, boolean createIfNeeded, boolean update, Map<String, Serializable> params) UserMapperService.getOrCreateAndUpdateNuxeoPrincipal
(String mappingName, Object userObject) Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectUserMapperService.getOrCreateAndUpdateNuxeoPrincipal
(String mappingName, Object userObject, boolean createIfNeeded, boolean update, Map<String, Serializable> params) Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectModifier and TypeMethodDescriptionUserMapperComponent.wrapNuxeoPrincipal
(String mappingName, NuxeoPrincipal principal, Object nativePrincipal, Map<String, Serializable> params) UserMapperService.wrapNuxeoPrincipal
(String mappingName, NuxeoPrincipal principal, Object nativePrincipal, Map<String, Serializable> params) Wrap theNuxeoPrincipal
as the userObject used in the external authentication system * -
Uses of NuxeoPrincipal in org.nuxeo.wopi
Modifier and TypeMethodDescriptionstatic String
Helpers.principalFullName
(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.wopi.lock
Modifier and TypeMethodDescriptionWOPILockSecurityPolicy.checkPermission
(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
CoreInstance.getCoreSession(String, NuxeoPrincipal)
instead