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 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)
-
-
-
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)
-
-