Class ShibbolethGroupHelper
- java.lang.Object
-
- org.nuxeo.ecm.platform.shibboleth.ShibbolethGroupHelper
-
public class ShibbolethGroupHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidcheckExpressionLanguageValidity(DocumentModel group)static DocumentModelcreateGroup(DocumentModel group)static voiddeleteGroup(DocumentModel group)static DocumentModelgetBareGroupModel(CoreSession core)protected static DirectoryServicegetDirectoryService()static DocumentModelgetGroup(String groupName)static DocumentModelListgetGroups()static List<String>getParentsGroups(String shibbGroupName)Query the group directory to find if shibbGroupName is used in a subGroup field.protected static UserManagergetUserManager()static DocumentModelListsearchGroup(String fullText)static voidupdateGroup(DocumentModel group)
-
-
-
Method Detail
-
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 groupe- 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)
-
-