public class GroupRelationshipChecker extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
"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 performed
checkedGroup- checked group
referenceGroup- group, against which check will be performed
Copyright © 2002-2019 Atlassian. All Rights Reserved.