diff --git a/docs/documentation/upgrading/topics/keycloak/changes-22_0_0.adoc b/docs/documentation/upgrading/topics/keycloak/changes-22_0_0.adoc index 9a58e6563f..027784d64b 100644 --- a/docs/documentation/upgrading/topics/keycloak/changes-22_0_0.adoc +++ b/docs/documentation/upgrading/topics/keycloak/changes-22_0_0.adoc @@ -349,3 +349,4 @@ their corresponding replacements. * `Streams` interfaces in federated storage provider classes were deprecated. * `KeycloakModelUtils#getClientScopeMappings` was removed. * Deprecated methods from `KeycloakSession` were removed. +* `UserQueryProvider#getUsersStream` methods were removed. \ No newline at end of file diff --git a/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPStorageProvider.java b/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPStorageProvider.java index ac21e1ddeb..74c745a20f 100755 --- a/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPStorageProvider.java +++ b/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPStorageProvider.java @@ -343,11 +343,6 @@ public class LDAPStorageProvider implements UserStorageProvider, return getUserByUsername(realm, storageId.getExternalId()); } - @Override - public Stream searchForUserStream(RealmModel realm, String search, Integer firstResult, Integer maxResults) { - return searchForUserStream(realm, Map.of(UserModel.SEARCH, search), firstResult, maxResults); - } - /** * It supports *