public class ShibbolethGroupHelper extends Object
Modifier and Type | Method and Description |
---|---|
protected static void |
checkExpressionLanguageValidity(DocumentModel group) |
static DocumentModel |
createGroup(DocumentModel group) |
static void |
deleteGroup(DocumentModel group) |
static DocumentModel |
getBareGroupModel(CoreSession core) |
protected static DirectoryService |
getDirectoryService() |
static DocumentModel |
getGroup(String groupName) |
static DocumentModelList |
getGroups() |
static List<String> |
getParentsGroups(String shibbGroupName)
Query the group directory to find if shibbGroupName is used in a subGroup field.
|
protected static UserManager |
getUserManager() |
static DocumentModelList |
searchGroup(String fullText) |
static void |
updateGroup(DocumentModel group) |
protected static DirectoryService getDirectoryService()
protected static UserManager getUserManager()
public static DocumentModel getBareGroupModel(CoreSession core)
public static DocumentModel createGroup(DocumentModel group)
public static DocumentModel getGroup(String groupName) throws DirectoryException
DirectoryException
public static void updateGroup(DocumentModel group)
public static void deleteGroup(DocumentModel group)
public static List<String> getParentsGroups(String shibbGroupName)
shibbGroupName
- name of the desired groupepublic static DocumentModelList getGroups()
public static DocumentModelList searchGroup(String fullText)
protected static void checkExpressionLanguageValidity(DocumentModel group)
Copyright © 2018 Nuxeo. All rights reserved.