public class ShibbolethGroupHelper extends Object
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
createGroup(DocumentModel group) |
static void |
deleteGroup(DocumentModel group) |
static DocumentModel |
getBareGroupModel(CoreSession core) |
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.
|
static DocumentModelList |
searchGroup(String fullText) |
static void |
updateGroup(DocumentModel group) |
public static DocumentModel getBareGroupModel(CoreSession core) throws ClientException
ClientException
public static DocumentModel createGroup(DocumentModel group) throws ClientException
ClientException
public static DocumentModel getGroup(String groupName) throws DirectoryException
DirectoryException
public static void updateGroup(DocumentModel group) throws ClientException
ClientException
public static void deleteGroup(DocumentModel group) throws ClientException
ClientException
public static List<String> getParentsGroups(String shibbGroupName) throws ClientException
shibbGroupName
- name of the desired groupeClientException
public static DocumentModelList getGroups() throws ClientException
ClientException
public static DocumentModelList searchGroup(String fullText) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.