| Package | Description |
|---|---|
| org.opencastproject.job.api | |
| org.opencastproject.security.util | |
| org.opencastproject.serviceregistry.api |
Service implementation classes
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract SecurityService |
AbstractJobProducer.getSecurityService()
Returns a reference to the security service
|
SecurityService |
OsgiAbstractJobProducer.getSecurityService() |
| Modifier and Type | Method and Description |
|---|---|
void |
OsgiAbstractJobProducer.setSecurityService(SecurityService securityService) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SecurityUtil.checkAgentAccess(SecurityService securityService,
String agentId)
Check if the current user has access to the capture agent with the given id.
|
static Option<Tuple<User,Organization>> |
SecurityUtil.getUserAndOrganization(SecurityService sec,
OrganizationDirectoryService orgDir,
String orgId,
UserDirectoryService userDir,
String userId)
Get a user and an organization.
|
static Option<User> |
SecurityUtil.getUserOfOrganization(SecurityService sec,
OrganizationDirectoryService orgDir,
String orgId,
UserDirectoryService userDir,
String userId)
Get a user of a certain organization by its ID.
|
static void |
SecurityUtil.runAs(SecurityService sec,
Organization org,
User user,
Runnable fn)
Run function
f in the context described by the given organization and user. |
| Constructor and Description |
|---|
SecurityContext(SecurityService sec,
Organization org,
User user) |
| Modifier and Type | Field and Description |
|---|---|
protected SecurityService |
ServiceRegistryInMemoryImpl.securityService
An (optional) security service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceRegistryInMemoryImpl.setSecurityService(SecurityService securityService)
Sets the security service.
|
| Constructor and Description |
|---|
ServiceRegistryInMemoryImpl(JobProducer service,
float maxLoad,
SecurityService securityService,
UserDirectoryService userDirectoryService,
OrganizationDirectoryService organizationDirectoryService,
IncidentService incidentService) |
ServiceRegistryInMemoryImpl(JobProducer service,
SecurityService securityService,
UserDirectoryService userDirectoryService,
OrganizationDirectoryService organizationDirectoryService,
IncidentService incidentService) |
Copyright © 2009–2021 Opencast Project. All rights reserved.