Class ExternalGroupLoader
java.lang.Object
org.opencastproject.external.userdirectory.ExternalGroupLoader
The external group loader
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe path to the external applications list of rolesstatic final StringThe external applications group suffixprotected JpaGroupRoleProviderThe group role providerprotected OrganizationDirectoryServiceThe organization directory servicestatic final StringPath to the list of rolesprotected SecurityServiceThe security service to use to run as the context for adding the groupsstatic final StringThe config key, which specifies whether default groups should be created -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) Callback for activation of this component.voidsetGroupRoleProvider(JpaGroupRoleProvider groupRoleProvider) voidsetOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService) voidsetSecurityService(SecurityService securityService)
-
Field Details
-
SHOULD_CREATE_DEFAULT_GROUPS_CONFIG_KEY
The config key, which specifies whether default groups should be created- See Also:
-
EXTERNAL_GROUP_SUFFIX
The external applications group suffix- See Also:
-
ROLES_PATH_PREFIX
Path to the list of roles- See Also:
-
EXTERNAL_APPLICATIONS_ROLES_FILE
The path to the external applications list of roles- See Also:
-
groupRoleProvider
The group role provider -
organizationDirectoryService
The organization directory service -
securityService
The security service to use to run as the context for adding the groups
-
-
Constructor Details
-
ExternalGroupLoader
public ExternalGroupLoader()
-
-
Method Details
-
setGroupRoleProvider
- Parameters:
groupRoleProvider- the groupRoleProvider to set
-
setOrganizationDirectoryService
public void setOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService) - Parameters:
organizationDirectoryService- the organizationDirectoryService to set
-
setSecurityService
-
activate
Callback for activation of this component.- Parameters:
cc- the component context- Throws:
Exception
-