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 org.opencastproject.userdirectory.JpaGroupRoleProviderThe group role providerprotected org.opencastproject.security.api.OrganizationDirectoryServiceThe organization directory servicestatic final StringPath to the list of rolesprotected org.opencastproject.security.api.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(org.opencastproject.userdirectory.JpaGroupRoleProvider groupRoleProvider) voidsetOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService) voidsetSecurityService(org.opencastproject.security.api.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
protected org.opencastproject.userdirectory.JpaGroupRoleProvider groupRoleProviderThe group role provider -
organizationDirectoryService
protected org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryServiceThe organization directory service -
securityService
protected org.opencastproject.security.api.SecurityService securityServiceThe security service to use to run as the context for adding the groups
-
-
Constructor Details
-
ExternalGroupLoader
public ExternalGroupLoader()
-
-
Method Details
-
setGroupRoleProvider
public void setGroupRoleProvider(org.opencastproject.userdirectory.JpaGroupRoleProvider groupRoleProvider) - Parameters:
groupRoleProvider- the groupRoleProvider to set
-
setOrganizationDirectoryService
public void setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService) - Parameters:
organizationDirectoryService- the organizationDirectoryService to set
-
setSecurityService
public void setSecurityService(org.opencastproject.security.api.SecurityService securityService) -
activate
Callback for activation of this component.- Parameters:
cc- the component context- Throws:
Exception
-