Uses of Interface
org.opencastproject.security.api.Organization
Packages that use Organization
-
Uses of Organization in org.opencastproject.security.api
Classes in org.opencastproject.security.api that implement OrganizationModifier and TypeClassDescriptionclassThe default organization.classAn organization that is hosted on this Opencast instance.Fields in org.opencastproject.security.api with type parameters of type OrganizationModifier and TypeFieldDescriptionprotected List<Organization> OrganizationList.organizationsThe list of organizationsMethods in org.opencastproject.security.api that return OrganizationModifier and TypeMethodDescriptionstatic OrganizationGroup.getOrganization()Gets the user's organization.JaxbGroup.getOrganization()JaxbUser.getOrganization()OrganizationDirectoryService.getOrganization(String id) Gets an organization by its identifier.OrganizationDirectoryService.getOrganization(URL url) Gets an organization by request URL.SecurityService.getOrganization()Gets the organization associated with the current thread context.User.getOrganization()Returns the user's organization identifier.Methods in org.opencastproject.security.api that return types with arguments of type OrganizationModifier and TypeMethodDescriptionOrganizationDirectoryService.getOrganizations()Gets all registered organizations.OrganizationList.getOrganizations()Methods in org.opencastproject.security.api with parameters of type OrganizationModifier and TypeMethodDescriptionvoidJaxbOrganizationList.add(Organization org) static JaxbOrganizationJaxbOrganization.fromOrganization(Organization org) Constructs an organization from an organizationstatic 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.voidOrganizationDirectoryListener.organizationRegistered(Organization organization) This callback notifies listeners about an organization that appeared in the organization directory.voidOrganizationDirectoryListener.organizationUnregistered(Organization organization) This callback notifies listeners about an organization that disappeared from the organization directory.voidOrganizationDirectoryListener.organizationUpdated(Organization organization) This callback notifies listeners about an organization that was updated.voidSecurityService.setOrganization(Organization organization) Sets the organization for the calling thread.static StringOrganizationParser.toXml(Organization organization) Method parameters in org.opencastproject.security.api with type arguments of type OrganizationModifier and TypeMethodDescriptionvoidOrganizationList.setOrganizations(List<Organization> organizations) Constructor parameters in org.opencastproject.security.api with type arguments of type OrganizationModifierConstructorDescriptionOrganizationList(List<Organization> organizations) Constructs a new OrganizationList wrapper from a list of organizations. -
Uses of Organization in org.opencastproject.security.util
Methods in org.opencastproject.security.util that return types with arguments of type OrganizationModifier 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 OrganizationModifier 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.static 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 Organization