public class GroupRelationshipChecker extends Object
| Constructor and Description |
|---|
GroupRelationshipChecker(com.atlassian.crowd.manager.directory.DirectoryManager directoryManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGroupEqualOrNested(Optional<Long> userDirectoryId,
String checkedGroup,
String referenceGroup)
"Not entirely" accurate group relationship check.
|
public GroupRelationshipChecker(com.atlassian.crowd.manager.directory.DirectoryManager directoryManager)
public boolean isGroupEqualOrNested(Optional<Long> userDirectoryId, String checkedGroup, String referenceGroup)
Optional.empty(), it is not possible to check possible group nesting relationship. In such case simple
comparison is performed.userDirectoryId - directory, in which lookup is performedcheckedGroup - checked groupreferenceGroup - group, against which check will be performedCopyright © 2002-2022 Atlassian. All Rights Reserved.