Class ExternalGroupLoader

java.lang.Object
org.opencastproject.external.userdirectory.ExternalGroupLoader

public class ExternalGroupLoader extends Object
The external group loader
  • Field Details

    • SHOULD_CREATE_DEFAULT_GROUPS_CONFIG_KEY

      public static final String SHOULD_CREATE_DEFAULT_GROUPS_CONFIG_KEY
      The config key, which specifies whether default groups should be created
      See Also:
    • EXTERNAL_GROUP_SUFFIX

      public static final String EXTERNAL_GROUP_SUFFIX
      The external applications group suffix
      See Also:
    • ROLES_PATH_PREFIX

      public static final String ROLES_PATH_PREFIX
      Path to the list of roles
      See Also:
    • EXTERNAL_APPLICATIONS_ROLES_FILE

      public static final String EXTERNAL_APPLICATIONS_ROLES_FILE
      The path to the external applications list of roles
      See Also:
    • groupRoleProvider

      protected JpaGroupRoleProvider groupRoleProvider
      The group role provider
    • organizationDirectoryService

      protected OrganizationDirectoryService organizationDirectoryService
      The organization directory service
    • securityService

      protected SecurityService securityService
      The security service to use to run as the context for adding the groups
  • Constructor Details

    • ExternalGroupLoader

      public ExternalGroupLoader()
  • Method Details

    • setGroupRoleProvider

      public void setGroupRoleProvider(JpaGroupRoleProvider groupRoleProvider)
      Parameters:
      groupRoleProvider - the groupRoleProvider to set
    • setOrganizationDirectoryService

      public void setOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService)
      Parameters:
      organizationDirectoryService - the organizationDirectoryService to set
    • setSecurityService

      public void setSecurityService(SecurityService securityService)
    • activate

      public void activate(org.osgi.service.component.ComponentContext cc) throws Exception
      Callback for activation of this component.
      Parameters:
      cc - the component context
      Throws:
      Exception