Class CanonicalUsersByEmailFinder
java.lang.Object
com.atlassian.crowd.manager.application.CanonicalUsersByEmailFinder
Finds canonical users that have a provided email address.
This class is a workaround for KRAK-3542. One cannot simply use ApplicationService.searchUsers(com.atlassian.crowd.model.application.Application, com.atlassian.crowd.search.query.entity.EntityQuery<T>)
because it
can return non-canonical users.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindCanonicalUsersByEmail
(Application application, String email) Returns canonical users that have a provided email address.
-
Constructor Details
-
CanonicalUsersByEmailFinder
-
-
Method Details
-
findCanonicalUsersByEmail
Returns canonical users that have a provided email address.- Parameters:
application
- applicationemail
- email address- Returns:
- users sharing provided email address, empty list if no users found
-