public interface SearchStrategyFactory
directories| Modifier and Type | Method and Description |
|---|---|
GroupSearchStrategy |
createGroupSearchStrategy(boolean mergeGroups,
List<Directory> directories)
|
MembershipSearchStrategy |
createMembershipSearchStrategy(boolean aggregateMemberships,
List<Directory> directories)
Attempts to create a
MembershipSearchStrategy for the specified isMembershipAggregationEnabled and
associated directories. |
UserSearchStrategy |
createUserSearchStrategy(boolean mergeUsers,
List<Directory> directories)
|
MembershipSearchStrategy createMembershipSearchStrategy(boolean aggregateMemberships, List<Directory> directories)
MembershipSearchStrategy for the specified isMembershipAggregationEnabled and
associated directories.
If the factory cannot create a MembershipSearchStrategy for the specified membership aggregation
or directory configuration
Optional.empty() will be returned
aggregateMemberships - whether membership aggregation is enableddirectories - the collection of directories to searchMembershipSearchStrategy for the application and directories or Optional.empty()UserSearchStrategy createUserSearchStrategy(boolean mergeUsers, List<Directory> directories)
UserSearchStrategy for the specified mergeUsers and
associated directories.
If the factory cannot create a UserSearchStrategy for the specified membership aggregation
or directory configuration
Optional.empty() will be returned
mergeUsers - Whether users with the same name from different directories should be merged. Unmerged users
with the same name will be returned in the order defined by directories order.directories - the collection of directories to searchUserSearchStrategy for the application and directories or Optional.empty()GroupSearchStrategy createGroupSearchStrategy(boolean mergeGroups, List<Directory> directories)
GroupSearchStrategy for the specified mergeGroups and
associated directories.
If the factory cannot create a GroupSearchStrategy for the specified membership aggregation
or directory configuration
Optional.empty() will be returned
mergeGroups - Whether groups with the same name should be merged. Unmerged groups with the same name
will be returned in the order defined by directories order.directories - the collection of directories to searchGroupSearchStrategy for the application and directories or Optional.empty()Copyright © 2018 Atlassian. All rights reserved.