Interface UserSearchStrategy
- All Known Implementing Classes:
InMemoryEntitySearchStrategy
,NoDirectorySearchStrategy
public interface UserSearchStrategy
A set of querying across a collection of active directories.
A strategy is resolved using a SearchStrategyFactory
and can be optimised for specific configurations of
directory.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T> PagedSearcher<T>
createPagedUserSearcher
(EntityQuery<T> query) <T> List<T>
searchUsers
(EntityQuery<T> query) Returns aList<User>
orList<String>
matching the search criteria defined in the query.
-
Method Details
-
searchUsers
Returns aList<User>
orList<String>
matching the search criteria defined in the query.The users will be returned in a stable order including across pagination boundaries (excluding modification).
- Parameters:
query
- the search query.- Returns:
List<User>
user objects orList<String>
usernames, depending on the query.
-
createPagedUserSearcher
<T> PagedSearcher<T> createPagedUserSearcher(EntityQuery<T> query) throws PagingNotSupportedException
-