Class ShibbolethGroupHelper

java.lang.Object
org.nuxeo.ecm.platform.shibboleth.ShibbolethGroupHelper

public class ShibbolethGroupHelper extends Object
  • Method Details

    • getDirectoryService

      protected static DirectoryService getDirectoryService()
    • getUserManager

      protected static UserManager getUserManager()
    • getBareGroupModel

      public static DocumentModel getBareGroupModel(CoreSession core)
    • createGroup

      public static DocumentModel createGroup(DocumentModel group)
    • getGroup

      public static DocumentModel getGroup(String groupName)
    • updateGroup

      public static void updateGroup(DocumentModel group)
    • deleteGroup

      public static void deleteGroup(DocumentModel group)
    • getParentsGroups

      public static List<String> getParentsGroups(String shibbGroupName)
      Query the group directory to find if shibbGroupName is used in a subGroup field.
      Parameters:
      shibbGroupName - name of the desired group
      Returns:
      a DocumentList representing the groups matching the query
    • getGroups

      public static DocumentModelList getGroups()
    • searchGroup

      public static DocumentModelList searchGroup(String fullText)
    • checkExpressionLanguageValidity

      protected static void checkExpressionLanguageValidity(DocumentModel group)