Uses of Interface
org.opencastproject.security.api.User
Packages that use User
Package
Description
Series service.
Implementation of series persistent storage.
Workflow service.
-
Uses of User in org.opencastproject.adminui.endpoint
Methods in org.opencastproject.adminui.endpoint with parameters of type User -
Uses of User in org.opencastproject.editor.api
Constructors in org.opencastproject.editor.api with parameters of type UserModifierConstructorDescriptionEditingData(List<SegmentData> segments, List<TrackData> tracks, List<WorkflowData> workflows, Long duration, String title, String recordingStartDate, String seriesId, String seriesName, Boolean workflowActive, List<String> waveformURIs, List<EditingData.Subtitle> subtitles, Boolean local, Boolean lockingActive, Integer lockRefresh, User user, String metadataJSON) -
Uses of User in org.opencastproject.elasticsearch.index
Methods in org.opencastproject.elasticsearch.index with parameters of type UserModifier and TypeMethodDescriptionElasticsearchIndex.addOrUpdateEvent(String id, Function<Optional<Event>, Optional<Event>> updateFunction, String orgId, User user) Adds or updates the event in the search index.ElasticsearchIndex.addOrUpdateSeries(String id, Function<Optional<Series>, Optional<Series>> updateFunction, String orgId, User user) Adds or updates the series in the search index.Loads the event from the search index if it exists.Loads the series from the search index if it exists. -
Uses of User in org.opencastproject.elasticsearch.index.objects.event
Methods in org.opencastproject.elasticsearch.index.objects.event that return UserModifier and TypeMethodDescriptionEventSearchQuery.getUser()Returns the user of this search queryMethods in org.opencastproject.elasticsearch.index.objects.event with parameters of type UserModifier and TypeMethodDescriptionstatic voidEventIndexUtils.updateSeriesName(Event event, String organization, User user, ElasticsearchIndex searchIndex) A function to update the series title within an event.static voidEventIndexUtils.updateSeriesName(Event event, String organization, User user, ElasticsearchIndex searchIndex, int tries, long sleep) A function to update the series title within an event.Constructors in org.opencastproject.elasticsearch.index.objects.event with parameters of type UserModifierConstructorDescriptionEventSearchQuery(String organization, User user) Creates a query that will return event documents. -
Uses of User in org.opencastproject.elasticsearch.index.objects.series
Methods in org.opencastproject.elasticsearch.index.objects.series that return UserModifier and TypeMethodDescriptionSeriesSearchQuery.getUser()Returns the user of this search queryConstructors in org.opencastproject.elasticsearch.index.objects.series with parameters of type UserModifierConstructorDescriptionSeriesSearchQuery(String organization, User user) Creates a query that will return series documents. -
Uses of User in org.opencastproject.event.comment
Methods in org.opencastproject.event.comment that return UserModifier and TypeMethodDescriptionEventComment.getAuthor()Returns the authorEventCommentReply.getAuthor()Returns the reply authorMethods in org.opencastproject.event.comment with parameters of type UserModifier and TypeMethodDescriptionstatic EventCommentEventComment.create(Optional<Long> id, String eventId, String organization, String text, User author) Creates a simple commentstatic EventCommentEventComment.create(Optional<Long> id, String eventId, String organization, String text, User author, String reason, boolean resolvedStatus) Creates a complex commentstatic EventCommentEventComment.create(Optional<Long> id, String eventId, String organization, String text, User author, String reason, boolean resolvedStatus, Date creationDate, Date modificationDate) Creates a complex commentstatic EventCommentEventComment.create(Optional<Long> id, String eventId, String organization, String text, User author, String reason, boolean resolvedStatus, Date creationDate, Date modificationDate, List<EventCommentReply> replies) Creates a complex commentstatic EventCommentReplyCreates a comment replystatic EventCommentReplyEventCommentReply.create(Optional<Long> id, String text, User author, Date creationDate, Date modificationDate) Creates a comment reply -
Uses of User in org.opencastproject.graphql.datafetcher.event
Methods in org.opencastproject.graphql.datafetcher.event with parameters of type UserModifier and TypeMethodDescription -
Uses of User in org.opencastproject.graphql.datafetcher.series
Methods in org.opencastproject.graphql.datafetcher.series with parameters of type UserModifier and TypeMethodDescription -
Uses of User in org.opencastproject.graphql.execution.context
Methods in org.opencastproject.graphql.execution.context that return UserMethods in org.opencastproject.graphql.execution.context with parameters of type User -
Uses of User in org.opencastproject.graphql.user
Methods in org.opencastproject.graphql.user that return UserConstructors in org.opencastproject.graphql.user with parameters of type UserConstructor parameters in org.opencastproject.graphql.user with type arguments of type User -
Uses of User in org.opencastproject.index.service.impl.util
Methods in org.opencastproject.index.service.impl.util that return UserMethods in org.opencastproject.index.service.impl.util with parameters of type UserConstructors in org.opencastproject.index.service.impl.util with parameters of type User -
Uses of User in org.opencastproject.job.jpa
Constructors in org.opencastproject.job.jpa with parameters of type UserModifierConstructorDescriptionJpaJob(User currentUser, Organization organization, ServiceRegistrationJpaImpl creatingService, String operation, List<String> arguments, String payload, boolean dispatchable, float load) -
Uses of User in org.opencastproject.kernel.security
Methods in org.opencastproject.kernel.security that return UserModifier and TypeMethodDescriptionSecurityServiceSpringImpl.getUser()Gets the current user, or the local organization's anonymous user if the user has not been authenticated.Methods in org.opencastproject.kernel.security with parameters of type User -
Uses of User in org.opencastproject.security.api
Classes in org.opencastproject.security.api that implement UserMethods in org.opencastproject.security.api that return UserModifier and TypeMethodDescriptionstatic UserSecurityService.getUser()Gets the current user, or the local organization's anonymous user if the user has not been authenticated.Loads a user by username, or returns null if this user is not known to the thread's current organization.Loads a user by username, or returns null if this user is not known to this provider.Methods in org.opencastproject.security.api that return types with arguments of type UserModifier and TypeMethodDescriptionReturn the found user's as an iterator.Return the found user's as an iterator.UserProvider.findUsers(Collection<String> userNames) Find a list of users by their user names Note that the default implementation of this might be slow, as it callsloadUseron every single user.UserDirectoryService.getUsers()Gets all known users.UserProvider.getUsers()Gets all known users.UserDirectoryService.loadUsers(Collection<String> userNames) Loads multiple users by a list of user names.Methods in org.opencastproject.security.api with parameters of type UserModifier and TypeMethodDescriptionvoidstatic JaxbUserCreates a JAXB user from a regular user object.static JaxbUserJaxbUser.fromUser(User user, Collection<? extends Role> extraRoles) Creates a JAXB user from a regular user object with an additional set of roles.static booleanAccessControlUtil.isAuthorized(AccessControlList acl, User user, Organization org, Object action) Determines whether theAccessControlListpermits a user to perform an action.static booleanAccessControlUtil.isAuthorized(AccessControlList acl, User user, Organization org, Object action, String mediaPackageId) Determines whether theAccessControlListpermits a user to perform an action.static booleanAccessControlUtil.isAuthorizedAll(AccessControlList acl, User user, Organization org, Object... actions) Returns true only if all actions are authorized.static booleanAccessControlUtil.isAuthorizedOne(AccessControlList acl, User user, Organization org, Object... actions) Returns true if at least one action is authorized.static booleanAccessControlUtil.isProhibitedAll(AccessControlList acl, User user, Organization org, Object... actions) Returns true if all actions are prohibited.static booleanAccessControlUtil.isProhibitedOne(AccessControlList acl, User user, Organization org, Object... actions) Returns true if at least one action is prohibited.voidSets the current thread's user context to another user.static StringConstructors in org.opencastproject.security.api with parameters of type UserModifierConstructorDescriptionUnauthorizedException(User user, String action) Constructs an UnauthorizedException for the specified user's attempt to take a specified action.UnauthorizedException(User user, String action, AccessControlList acl) Constructs an UnauthorizedException for the specified user's attempt to take a specified action. -
Uses of User in org.opencastproject.security.impl.jpa
Classes in org.opencastproject.security.impl.jpa that implement UserMethods in org.opencastproject.security.impl.jpa that return User -
Uses of User in org.opencastproject.security.util
Methods in org.opencastproject.security.util that return UserModifier and TypeMethodDescriptionstatic UserSecurityUtil.createAnonymousUser(Organization org) Create the global anonymous user with the given organization.static UserSecurityUtil.createSystemUser(String systemUserName, Organization org) Create a system user for the given organization with global and organization local admin role.static UserSecurityUtil.createSystemUser(org.osgi.service.component.ComponentContext cc, Organization org) Create a system user for the given organization with global admin role.Methods in org.opencastproject.security.util that return types with arguments of type UserModifier and TypeMethodDescriptionstatic Optional<Tuple<User, Organization>> SecurityUtil.getUserAndOrganization(SecurityService sec, OrganizationDirectoryService orgDir, String orgId, UserDirectoryService userDir, String userId) Get a user and an organization.Methods in org.opencastproject.security.util with parameters of type UserModifier and TypeMethodDescriptionstatic voidSecurityUtil.runAs(SecurityService sec, Organization org, User user, Runnable fn) Run functionfin the context described by the given organization and user.Constructors in org.opencastproject.security.util with parameters of type User -
Uses of User in org.opencastproject.series.api
Constructors in org.opencastproject.series.api with parameters of type User -
Uses of User in org.opencastproject.series.impl.persistence
Methods in org.opencastproject.series.impl.persistence with parameters of type User -
Uses of User in org.opencastproject.themes
Methods in org.opencastproject.themes that return UserConstructors in org.opencastproject.themes with parameters of type UserModifierConstructorDescriptionTheme(Optional<Long> id, Date creationDate, boolean isDefault, User creator, String name, String description, boolean bumperActive, String bumperFile, boolean trailerActive, String trailerFile, boolean titleSlideActive, String titleSlideMetadata, String titleSlideBackground, boolean licenseSlideActive, String licenseSlideBackground, String licenseSlideDescription, boolean watermarkActive, String watermarkFile, String watermarkPosition) -
Uses of User in org.opencastproject.userdirectory
Methods in org.opencastproject.userdirectory that return UserModifier and TypeMethodDescriptionLoads a user by username, or returns null if this user is not known to this provider.Loads a user from persistenceLoads a user by username, or returns null if this user is not known to this provider.Loads a user from persistenceLoad a user by userNameLoads a user by username, or returns null if this user is not known to the thread's current organization.JpaUserAndRoleProvider.updateUser(JpaUser user) Updates a user to the persistenceJpaUserAndRoleProvider.updateUser(JpaUser user, boolean passwordEncoded) Updates a user to the persistenceMethods in org.opencastproject.userdirectory that return types with arguments of type UserModifier and TypeMethodDescriptionJpaUserAndRoleProvider.findInsecurePasswordHashes()List all users with insecure password hashesReturn the found user's as an iterator.JpaUserAndRoleProvider.findUsers(Collection<String> userNames) Return the found user's as an iterator.JpaUserReferenceProvider.findUsers(Collection<String> userNames) InMemoryUserAndRoleProvider.getUsers()JpaUserAndRoleProvider.getUsers()JpaUserReferenceProvider.getUsers()UserAndRoleDirectoryServiceImpl.getUsers()Gets all known users.UserAndRoleDirectoryServiceImpl.loadUsers(Collection<String> userNames) -
Uses of User in org.opencastproject.userdirectory.api
Methods in org.opencastproject.userdirectory.api that return User -
Uses of User in org.opencastproject.userdirectory.brightspace
Methods in org.opencastproject.userdirectory.brightspace that return UserModifier and TypeMethodDescriptionLoads a user by username, or returns null if this user is not known to this provider.Methods in org.opencastproject.userdirectory.brightspace that return types with arguments of type User -
Uses of User in org.opencastproject.userdirectory.canvas
Methods in org.opencastproject.userdirectory.canvas that return UserMethods in org.opencastproject.userdirectory.canvas that return types with arguments of type User -
Uses of User in org.opencastproject.userdirectory.ldap
Methods in org.opencastproject.userdirectory.ldap that return UserModifier and TypeMethodDescriptionLoads a user by username, or returns null if this user is not known to this provider.protected UserLdapUserProviderInstance.loadUserFromLdap(String userName) Loads a user from LDAP.Methods in org.opencastproject.userdirectory.ldap that return types with arguments of type User -
Uses of User in org.opencastproject.userdirectory.moodle
Methods in org.opencastproject.userdirectory.moodle that return UserModifier and TypeMethodDescriptionLoads a user by username, or returns null if this user is not known to this provider.Methods in org.opencastproject.userdirectory.moodle that return types with arguments of type User -
Uses of User in org.opencastproject.userdirectory.sakai
Methods in org.opencastproject.userdirectory.sakai that return UserModifier and TypeMethodDescriptionLoads a user by username, or returns null if this user is not known to this provider.protected UserSakaiUserProviderInstance.loadUserFromSakai(String userName) Loads a user from Sakai.Methods in org.opencastproject.userdirectory.sakai that return types with arguments of type User -
Uses of User in org.opencastproject.userdirectory.studip
Methods in org.opencastproject.userdirectory.studip that return UserModifier and TypeMethodDescriptionLoads a user by username, or returns null if this user is not known to this provider.protected UserStudipUserProviderInstance.loadUserFromStudip(String userName) Loads a user from Stud.IP.Methods in org.opencastproject.userdirectory.studip that return types with arguments of type User -
Uses of User in org.opencastproject.workflow.api
Constructors in org.opencastproject.workflow.api with parameters of type UserModifierConstructorDescriptionWorkflowInstance(WorkflowDefinition def, MediaPackage mediaPackage, User creator, Organization organization, Map<String, String> configuration) Constructs a new workflow instance from the given definition, mediapackage, and optional parent workflow ID and properties. -
Uses of User in org.opencastproject.workflow.impl
Methods in org.opencastproject.workflow.impl with parameters of type UserModifier and TypeMethodDescriptionWorkflowDefinitionScanner.getAvailableWorkflowDefinitions(Organization organization, User user) Return available workflow definitions This method finds workflows that are either globally defined or have the correct organization/roles set.WorkflowDefinitionScanner.getWorkflowDefinition(User user, WorkflowIdentifier workflowIdentifier) Return the workflow definition for a given workflow identifier This method tries to get the workflow using the exact identifier and falls back to the global workflow (without the organization) if that fails.