Description
Currently the searchPrincipals and findAll* call return all results in one go. JIRA/OSUser uses these to implement getAllUsers. This puts a huge load on the underlying directories, the crowd server and client (due to the marshalling/demarshalling of the messages) and the network; on the Atlassian internal directory the returned request is 5MB+ (see JRA-16131).
Ideally there should be paged versions of these calls, and the Crowd connector should be modified to use them.